Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Welby's avatar
Welby
Adventurer
11 years ago

Crash when showing the FPS dialog

I'm having a weird issue.

I've Unity 4.6 and Oculus SDK 4.4..

If i load from the editor a specific level that we can call for now "A level" everything is fine..

But i have a script in another level (called: B level )that simply load on trigger the A level.

What happens is that everything is ok but when i press the key to show the Fps,the game/editor crash. I've this error: MissingReferenceException: The object of type 'GameObject' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. It seems that this error was happen on the 132 line of OVRGUI.

I haven't modified the OVRGUI at all. I hadn't this issue before.. i don't know what it happen now..

Some helps?

12 Replies

Replies have been turned off for this discussion