Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

Crash Between Levels - VR Enabled - DK2

jmorris142jmorris142 Posts: 83
edited August 2015 in Unity Development
Hey, I am getting a random crash between levels, I only started getting this after upgrading to 6.0.1 runtime. It seems like that anyway. It happens when loading a new level and it is randomly any level.

I just don't know where to start looking, if anyone has a minute to look at this crash error and point me in a direction, I would be very grateful. Thank you.

Comments

  • cyberealitycybereality Posts: 26,156 Oculus Staff
    I believe this was an issue with the legacy integration.

    Are you able to upgrade to Unity 5.1.x and the new first-part virtual reality support?
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i
    Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
  • jmorris142jmorris142 Posts: 83
    Hi Cyber, yes I am totally up to date with everything.

    Unity 5.1.2
    Unity Virtual Reality Support and standard cameras (no OVR packages imported or used)
    Runtime 6.0.1

    Thanks for the quick reply
  • jmorris142jmorris142 Posts: 83
    I had one thought on this, I had recently been adding image effects,
    Bloom, contrast stretch and global fog.
    They are different between levels, and about the time I upgraded to the 6.0.1 runtime, I also added these image effects.
    I am wondering if anything in that error report points to something related to image effects.
  • cyberealitycybereality Posts: 26,156 Oculus Staff
    Hey, can you also upload the output_log.txt? Thanks.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i
    Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
  • jmorris142jmorris142 Posts: 83
    Ok File here.
    Thanks
  • cyberealitycybereality Posts: 26,156 Oculus Staff
    Sorry, I was talking about the Unity output_log that is in the Data folder of your game.

    http://docs.unity3d.com/Manual/LogFiles.html
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i
    Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
  • Hi, I managed to fix this issue, it happened if I used the same FPS controller prefab across more than one level, but if that prefab had different image effects from one level compared to the one it was loading the game would crash.

    SO for example if I used bloom and contrast stretch in one level and the next camera contained bloom, contrast stretch and colour correction lookup I seemed to get a crash. I don't know if this was the issue for sure, but standardizing my image effects for all levels meant the crash went away.

    Having said that I'm seeing other weirdness and have had a post on the unity forum for over 3 weeks now. I figured this was a unity issue because it seems related to prefabs, but I am posting this here now in the "Hope" that soneone might know what is going on and point me in the right direction because at the moment I am totally stuck and have tried everything.

    I even made a video of the issue happening in the editor to try explain this.

    Thanks for any help on this if anyone knows, I want to submit this update to my game because I added controller support and a whole bunch of things, but this one issue is not going away.

    I can repro this 100%. It involves saving and opening levels. So since it's a long explanation I made a video of this. Hope it helps as it relates to VR and head position tracking. Seems that when I save and open levels things break and that would also explain why they don't work correctly when building multiple levels?.



    Here is the game actually working as intended with head tracking used for aiming.



    And a video for the update I to the first part of the game.

  • cyberealitycybereality Posts: 26,156 Oculus Staff
    OK, thanks. Let me see if I can repro this here.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i
    Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
  • cyberealitycybereality Posts: 26,156 Oculus Staff
    Can you click "Help > Report a Bug" and then give me the case number?
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i
    Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
  • Hey thank you, do you mean in unity editor create a new case or what is the case number for the current bug?.
    The current unity bug case number is (713029)
    Also created a second one recently that included a reduced size version of my entire project, that one is (717257)
Sign In or Register to comment.