#in my experience that error occurs in
1 messages · Page 1 of 1 (latest)
Editor Lifecycle stuff like OnBeforeSerialize? After installing a few sketchy diagnostics packages from low-star github repos I saw that I had a few errors relating to that. I'd love to do a deep-dive into whatever it is that is causing this unloggable error, but it's a challenge to know what words to search for.
I actually have almost no asset store assets.
I am using Niantic's Lightship AR stuff, but everything was building fine for the few months I used that alone. I am also using an AMQP plugin, which is not from the asset store. Finally a designer recently added some shader graph stuff to the codebase.
I am not PERSONALLY using any OnBeforeSerialize stuff, it's coming from Niantic Lightship.
my experience with the ARDK is that it is pretty glitchy
although you are probably hanging on an incorrectly disposed amqp client
these are both kind of complex plugins
onbeforeserialize might be a red herring
an edit mode profile that enters play mode successfully may show you which methods take long
it will correctly profile during assembly reload
I've been trying to find a profiler that will report what it is about to do, as opposed to what it just completed doing. Everything I've found just spits out data about what it just completed, which of course doesn't work if it hangs on one particular thing. I've checked out all the logs I can find and cannot see anything that is getting updated on reload script assemblies.
Sorry, I've just returned from my brother's bday party, I'm not being as clear as I want to be. Ultimately, I just want to see what it is that Unity is doing when it reloads script assemblies so I can see where it gets stuck.
My only idea is to import each object in Assets one at a time into a new project and do a git commit each addition, then do a git bisect once I start crashing
these are some things to look at
https://docs.unity3d.com/ScriptReference/AssemblyReloadEvents.html
RuntimeInitializeOnLoad
https://johnaustin.io/articles/2020/domain-reloads-in-unity
OnBeforeSerialize is in there too
Thats a great link, thanks so much for your help.
are you on macOS?
I am
hmm