getsentry / sentry-unity

Development of Sentry SDK for Unity
https://docs.sentry.io/platforms/unity/
MIT License
206 stars 51 forks source link

Extra segfaults in multiplayer VR project for Quest 2 #1252

Open samiamlabs opened 1 year ago

samiamlabs commented 1 year ago

Environment

How do you use Sentry? Sentry SaaS (sentry.io)

Which version of the SDK? 1.1.0

How did you install the package? Git-URL

Which version of Unity? 2021.2.11f

Is this happening in Unity (editor) or on a player like Android, iOS, Windows? Only on the Quest 2 nativly, not in the editor (as far as I have seen)

Steps to Reproduce

I don't really know how to reproduce it or what is causing it :/ Run a complex app with photon PUN networking and VR things I guess...

Expected Result

Sentry should be able to help me find logs of things that only happen when many people are using the app at the same time. This would be very useful becase I have a lot of code that only runs when there are multiple players and they do some edgecase thing.

Actual Result

Extra segfaults that don't seem to happen anymore if i disable sentry and very little information about why the segfaults are happening.

Any logs or screenshots

Some examples: image image image image

bitsandfoxes commented 1 year ago

Hey @samiamlabs, sorry you're running into this issue. Are you using IL2CPP as your scripting backend?

samiamlabs commented 1 year ago

At the moment, yes. IL2CPP is required by Meta App Lab release channels. I believe I had the same problem before I switched to that also, but I could be misremembering.

bitsandfoxes commented 1 year ago

Do you happen to have any logs from the time of the crash? Could you share the events with me? Either here or at stefan@sentry.io

samiamlabs commented 1 year ago

I can pay for "Team" and share the sentry projects with you if that works for you @bitsandfoxes I have no other logs.

bitsandfoxes commented 1 year ago

You can just send me the link to the sentry event. I'll try to repro this on the Quest 2.

samiamlabs commented 1 year ago

https://dyno-robotics.sentry.io/issues/3710554500/events/faa88bcf81ec4ab923007dbfdd80a909/

Does that work? :)

samiamlabs commented 1 year ago

image

The segfaults all seem to have that message.

bitsandfoxes commented 1 year ago

hey @samiamlabs, does this issue still persist for you? Would you be able to provide a minimal repro? Especially with your plugin setup? Thanks!

samiamlabs commented 1 year ago

Sorry about the slow response...

I just put up a minimal version of the project I have been working on here: https://github.com/DynoRobotics/VirtualRehearsalRoom It is an open-source platform for live theatre/dance performances focused on the Xsens tracking suit and Quest 2.

I have not been using sentry for a while so I'm not sure you can reproduce the issue, but you can check the plugin setup etc at least :)