-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation errors in Unity 2023 alpha #15
Comments
Happens when you make a build on Android platform |
I got this problem too |
This happens to me too in 2022.3.16 when building for android. I tried deleting my Library folder (as I found in a solution from a different thread), but it's still happening. Anyone manage to fix this? |
Adding OVR_ANDROID_MRC as an extra compiler flag in player settings fixed it for me |
I can also confirm this happens when building Android after upgrading to 2022.3.16 and just as @secretportalxr graciously pointed out, adding the OVR_ANDROID_MRC seems to fix it. Weird. |
@secretportalxr this solution works thanks |
I fixed it by adding [NonSerialized] above each variable |
After updating Unity version to 2021.3.40f1 this error occured for the first time, and adding OVR_ANDROID_MRC fixed it for me also. |
Type '[Oculus.VR]OVRExternalComposition' has an extra field 'renderCombinedFrame' of type 'System.Boolean' in the player and thus can't be serialized
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Type '[Oculus.VR]OVRExternalComposition' has an extra field 'audioListener' of type 'UnityEngine.AudioListener' in the player and thus can't be serialized
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Type '[Oculus.VR]OVRExternalComposition' has an extra field 'audioFilter' of type 'OVRMRAudioFilter' in the player and thus can't be serialized
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Type '[Oculus.VR]OVRExternalComposition' has an extra field 'mrcRenderTextureArray' of type 'UnityEngine.RenderTexture[]' in the player and thus can't be serialized
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Type '[Oculus.VR]OVRExternalComposition' has an extra field 'frameIndex' of type 'System.Int32' in the player and thus can't be serialized
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Type '[Oculus.VR]OVRExternalComposition' has an extra field 'lastMrcEncodeFrameSyncId' of type 'System.Int32' in the player and thus can't be serialized
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Type '[Oculus.VR]OVRExternalComposition' has an extra field 'mrcForegroundRenderTextureArray' of type 'UnityEngine.RenderTexture[]' in the player and thus can't be serialized
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Type '[Oculus.VR]OVRExternalComposition' has an extra field 'cameraPoseTimeArray' of type 'System.Double[]' in the player and thus can't be serialized
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Fields serialized in Editor, class 'OVRExternalComposition'
'foregroundCameraGameObject' of type 'UnityEngine.GameObject'
'foregroundCamera' of type 'UnityEngine.Camera'
'backgroundCameraGameObject' of type 'UnityEngine.GameObject'
'backgroundCamera' of type 'UnityEngine.Camera'
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Fields serialized in target platform, class 'OVRExternalComposition'
'foregroundCameraGameObject' of type 'UnityEngine.GameObject'
'foregroundCamera' of type 'UnityEngine.Camera'
'backgroundCameraGameObject' of type 'UnityEngine.GameObject'
'backgroundCamera' of type 'UnityEngine.Camera'
'renderCombinedFrame' of type 'System.Boolean'
'audioListener' of type 'UnityEngine.AudioListener'
'audioFilter' of type 'OVRMRAudioFilter'
'mrcRenderTextureArray' of type 'UnityEngine.RenderTexture[]'
'frameIndex' of type 'System.Int32'
'lastMrcEncodeFrameSyncId' of type 'System.Int32'
'mrcForegroundRenderTextureArray' of type 'UnityEngine.RenderTexture[]'
'cameraPoseTimeArray' of type 'System.Double[]'
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
The text was updated successfully, but these errors were encountered: