Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
blenderpedia's avatar
blenderpedia
Honored Guest
12 years ago

unity project broken after using 0.4.3 update

It takes always some time to make an update work, but the new update 0.4.3 is not working well in my unity project ( using 4.6) . After installing, all the oculus scripts seems to be missing/broken, just can't get them to work on a normal way.

Is hard to point what exactly is the problem, there also seems to be an extra center camera, no idea if this makes a conflict.

I tried multiple times, can be my own fault of not using the update right, but intrested if other people have this problem as well.

9 Replies

Replies have been turned off for this discussion
  • We've tested with Unity 4.5.2f1, 4.5.5f1, and 5.0.0b7. 4.6 should work, but some users have run into issues with OVRShimLoader.cs. If you are using Unity 4.6 you can comment out any references to PlayerSettings.d3d11ForceExclusiveMode and visibleInBackground. Are you seeing other issues?
  • Did you read the migration guide? There are some significant changes and it is recommended to delete all OVR assets and then import the new one then replace all your controllers. It's a pain I know...
  • It is not a big deal, if it is tested well, it should work, just wondering if other devs had these script errors, the previous version had it also, but this was easy to fix by removing everything and re install the asset + runtime
  • "sh0v0r" wrote:
    Did you read the migration guide?...


    Cool, I didn't see a migration guide in the documentation, can you post a link to that? Thanks.

    edit: I found it, it's in the Unity integration guide
  • I just tested with Unity 4.6.0b21 Pro. Everything works, including the new UGUI-based OVRMainMenu, after I make the following changes:

    Change
    #if (UNITY_5 || UNITY_4_6 || (UNITY_4_5 && !(UNITY_4_5_0 || UNITY_4_5_1 || UNITY_4_5_2 || UNITY_4_5_3 || UNITY_4_5_4)))

    to
    #if (UNITY_4_5_5)


    If you want to use UGUI:

    Uncomment
    #define USE_NEW_GUI


    Change
    RenderMode.World

    to
    RenderMode.WorldSpace
  • Glad to see a solution, i downgraded back to 4.5, everything worked well, now i can go back to 4.6, thanx. I also discovered somerhing else, after using 0.4.3 i had not a stable framerate, sometimes it droped to 40 Fps. When working with o.4.2 i have a very stable fps of 75. Interested if anyone else having this in unity.
  • Anonymous's avatar
    Anonymous
    @blenderpedia
    See this other thread about the performance drop from 0.4.2 to 0.4.3. It may apply to you:
    viewtopic.php?f=37&t=16287

    @vrdaveb
    Appreciate your posts in here. I'm going to go try out the UGUI stuff as I have been trying to move over to that for my own GUI (was using modded NGUI up until now).

    ccs