cancel
Showing results for 
Search instead for 
Did you mean: 

OVRUnityVersionChecker.cs(3,3): Error CS0188:

Skelator
Honored Guest
Unity version 5.0.0f4 personal
Total noob question, imported OculusUnityIntegration.unitypackage into my unity project when I compile the scripts I get the following error:

OVRUnityVersionChecker.cs(3,3): Error CS0188: The 'this' object cannot be used before all of its fields are assigned to (CS0188) (Assembly-CSharp)

:? :roll: 🙂
2 REPLIES 2

cybereality
Grand Champion
I replied on the other topic you created. Basically you should not build inside MonoDevelop, only in the Unity editor.

thunderhead
Honored Guest
Hey y'all,
Unfortunately if you want to use Visual Studio to debug it does it's own build and therefore fails to attach itself to Unity to debug with.

You can fix those errors however by adding a
: this()
to the end of both constructor declarations in that class (line 91 and 138).