C
C#•3h ago
Theos

Editor randomly crashes after pausing the scene?

Hey, I have a really weird error in Unity. I have a gameobject with this script attached to it https://pastecode.io/s/fh2e2d3v If I don't use any of it's methods everything is fine, but when I use SimulateLogin and then pause or stop the scene Unity just crashes. No errors in the console, only that bug report window. Any ideas what might be causing it?
13 Replies
🕊 ILoveBirds 🕊
its best to use the unity forums for things like this
Theos
TheosOP•3h ago
I posted both here and on unity server
🕊 ILoveBirds 🕊
it might be due to threading since I see functions like
No description
Theos
TheosOP•3h ago
its some old legacy code and I'm really confused
🕊 ILoveBirds 🕊
are u by chance using any deprecated code?, if ur using VS it should show a warning
Theos
TheosOP•3h ago
nope no warnings
🕊 ILoveBirds 🕊
its an old legacy code right, are you on a older version?
Theos
TheosOP•3h ago
nope, unity 6
🕊 ILoveBirds 🕊
that could be the issue though I'm not using Unity anymore so I'm not sure
Theos
TheosOP•3h ago
either memory is leaking somewhere, threading is fcked, or just another weird unity issue
🕊 ILoveBirds 🕊
could be even a bug dk*
Theos
TheosOP•3h ago
yee, that would be the worst case
🕊 ILoveBirds 🕊
this one time I had to fix a bug manually with Unity Mirror which caused me some painful hours also gd luck in the unity forums

Did you find this page helpful?