-
Notifications
You must be signed in to change notification settings - Fork 81
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
Unity crashes when attempting to hit play in the editor #241
Comments
I just started testing some more by building to my headset and noticed by the controller wasn't being detected correctly. It's line render I used for the pointer was floating in 3D space. So I updated Open XR to the latest version which fixes that issue, but now android is showing as disabled in the VIU's settings menu and also it removed the Symbol VIU added. I also would like to add, I'm still crashing when trying to test within the Unity Editor. So updating all my libraries to the latest version did not fix my initial issue. |
I will check the problem you mentioned and get back to you ASAP. |
Hi @tenebris93, |
@chengnay It still crashes when I hit play. The workaround right now is to plug in a headset and enable Oculus Link. Once that is running, open unity again, and then when I play it outputs it to the headset for testing. Hopefully, this can be fixed in a future update. Sorry for the dumb question, but for the second fix, is there a way to do this with package manager assets? If not then am I correct in assuming that I need to manually install the Unity Asset and then make the change? Edit: whoops, forgot I already mentioned the workaround in the first post 🤦♂️ |
Hi @tenebris93, |
@chengnay Thanks for the help on how to implement the workaround. I have implemented it and will get back to you once I have finished testing to make sure nothing else weird happens. |
Hi @tenebris93, |
Hi @chengnay, Package Manager Packages:
Oculus Integration v46.0Oculus OVRPlugin is set to OpenXR Current Installed Package Manager Assets:Current VIU Settings:Current XR Plug-in Management Settings:Current OpenXR Settings:Thanks again @chengnay, if you need anything else, please feel free to let me know and I will try to get that info to you. |
Hi @tenebris93, If you encounter more issues, please let me know, thanks! |
@chengnay This seems to allow me to press the check box now. The only issue left is the crashing issue I have. |
Hi @tenebris93, |
Hi @chengnay, |
Hi @chengnay, |
Hi @tenebris93, |
Hi, @chengnay Yes, the pink is normal with this specific sample project. I created it using Unity's URP sample template. It just didn't seem to import correctly. As for the crashing issue, it was crashing for me even when I did a fresh clone. I wonder what is different from my editor install that is different from yours. I will try a fresh clone on another computer in the morning to see if it happens there for me, as it is almost 2 a.m. here on the East coast of the US. |
Hi @tenebris93, UPDATE: If you cannot reproduce the issue on your another computer, please share the editor log to me for further investigation. |
@chengnay The issue also happened on a different computer with a clean install. So I'm not sure why you are not receiving the issue as well, but hopefully, these logs help. Editor_logs.zip If you need anything else please just let me know. |
Alright, so after some more testing, I think I narrowed down what I believe is the cause. I reverted the commit titled, "Copy project settings from other project to sample project" and then discarded each file change until I came across the file that seems to cause the crash. From my testing, it looks like the changes that at some point introduced into the The changes on the left are the changes currently in the repo that are causing the issue. The ones on the right are the changes before I copied the settings from my other project. So I think I can simply fix the issues by deleting that file and having Unity recreate it from scratch. However, it seems when I reset the file though I am unable to enable the OpenXR loader in VIU again.. |
Upon further testing, it seems this line is the cause of the crash: All I have to do is to delete that line and I stop crashing. So it seems there is an issue with the loader settings. |
Hi @tenebris93. |
Hi, I just updated a Unity project I have been working on from v1.13.4 of VIU to v1.17.0. I updated it because I wanted to start testing VIU with Open XR. However, recently I noticed that my Unity Editor keeps crashing when I attempt to hit play when I do not have my Oculus Quest headset attached to my PC with Oculus Link mode enabled. This was never the case before I updated VIU. I believe I should have everything enabled as I am supposed to but is it possible I forgot something? I am using Unity Version 2020.3.33f1 LTS and I'm developing for Android.
The text was updated successfully, but these errors were encountered: