Forum Discussion
ChosenWell
10 years agoHonored Guest
Script Errors - Parameter specifiers are not permitted
Hello,
I am continuing to run into the same compiler errors after I build certain scripts.
Errors as follows:
OVRCommon.cs(95,65): error CS0241: Default parameter specifiers are not permitted
OVRCommon.cs(110,69): error CS0241: Default parameter specifiers are not permitted
OVRCommon.cs(128,60): error CS0241: Default parameter specifiers are not permitted
OVRDisplay.cs(175,51): error CS0241: Default parameter specifiers are not permitted
OVRDisplay.cs(636,90): error CS0241: Default parameter specifiers are not permitted
OVRTracker.cs(134,47): error CS0241: Default parameter specifiers are not permitted
OvrCapi.cs(1451,105): error CS0241: Default parameter specifiers are not permitted
OvrCapi.cs(1523,56): error CS0241: Default parameter specifiers are not permitted
OvrCapi.cs(1539,84): error CS0241: Default parameter specifiers are not permitted
OvrCapi.cs(1591,49): error CS0241: Default parameter specifiers are not permitted
OvrCapi.cs(1891,60): error CS0241: Default parameter specifiers are not permitted
OvrCapi.cs(1908,57): error CS0241: Default parameter specifiers are not permitted
OvrCapi.cs(1925,63): error CS0241: Default parameter specifiers are not permitted
OvrCapi.cs(1967,66): error CS0241: Default parameter specifiers are not permitted
(All scripts are located in the unity integration package)
This has mainly occurred when building custom Shaders (to handle transparent backgrounds in movies clips), but now even in more basic scripts. If I remove the shader/other script the errors are resolved.
Does anyone know know the cause or solution to this? I am not modifying the scripts that produce the errors.
Thanks
Trevor
I am continuing to run into the same compiler errors after I build certain scripts.
Errors as follows:
OVRCommon.cs(95,65): error CS0241: Default parameter specifiers are not permitted
OVRCommon.cs(110,69): error CS0241: Default parameter specifiers are not permitted
OVRCommon.cs(128,60): error CS0241: Default parameter specifiers are not permitted
OVRDisplay.cs(175,51): error CS0241: Default parameter specifiers are not permitted
OVRDisplay.cs(636,90): error CS0241: Default parameter specifiers are not permitted
OVRTracker.cs(134,47): error CS0241: Default parameter specifiers are not permitted
OvrCapi.cs(1451,105): error CS0241: Default parameter specifiers are not permitted
OvrCapi.cs(1523,56): error CS0241: Default parameter specifiers are not permitted
OvrCapi.cs(1539,84): error CS0241: Default parameter specifiers are not permitted
OvrCapi.cs(1591,49): error CS0241: Default parameter specifiers are not permitted
OvrCapi.cs(1891,60): error CS0241: Default parameter specifiers are not permitted
OvrCapi.cs(1908,57): error CS0241: Default parameter specifiers are not permitted
OvrCapi.cs(1925,63): error CS0241: Default parameter specifiers are not permitted
OvrCapi.cs(1967,66): error CS0241: Default parameter specifiers are not permitted
(All scripts are located in the unity integration package)
This has mainly occurred when building custom Shaders (to handle transparent backgrounds in movies clips), but now even in more basic scripts. If I remove the shader/other script the errors are resolved.
Does anyone know know the cause or solution to this? I am not modifying the scripts that produce the errors.
Thanks
Trevor
3 Replies
Replies have been turned off for this discussion
- M_MoorsHonored GuestI get the exact same errors, fresh Unity 5.0.1f1 Personal with MonoDevelop 4.0.1
I tried deleting and reimporting all the scripts, nothing helped. - cyberealityGrand ChampionThe error messages are most likely coming from MonoDevelop or Visual Studio 2010 or older. That has nothing to do with Unity's C# compiler and the errors should not be present there. You just need to play (or build) the project from within Unity and not the coding IDE.
- M_MoorsHonored Guesti got rid of the problem by deleting the file /Assets/Editor/Image Effects/CameraMotionBlurEditor.js for some reason...
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device