Getting this error now when I press play in my scene about 90% of the time. (Not every time which just somehow makes it more annoying) The error isn’t giving any information, nor does it seem to be actually affecting anything. Any idea what could be causing it? I’ve double checked and nothing in my scene calls Destroy on anything else. It just started happening and I can’t think of what changed. I added an audio source to a prefab was last change I think? It’s making me crazy so any insight into this would be appreciated.
Hi
I would suggest that you try and remove parts of the scene until you find a reproduction case where it’s clear which part is causing the problem.
You could try enabling full stack logging and see if you can find a culprit, see the attached screenshot.
If it doesn’t help or you find a bug are are always welcome to use the “Report a bug” in the editor and someone will take a look at it. If you do it helps us a lot the smaller the project submitted is so we can focus on the problem itself.
Thanks for the help Pete. I was actually digging around trying to find how to enable full stack tracing and couldn’t find it. (I never think about those three little dots…). So I ran that and got the following error:
It took my several tries of hitting play this time for the error to show, much more than ever before. I’ll try nuking the scene one by one (it’s a fairly large scene so this will take a while) and see if I can find a specific problem child. It should be a nested prefab causing the error I presume?
Ok I think I found my problem. I had a disabled canvas in my scene which had on it a prefab nested inside another prefab that had been deleted from the project. But it wasn’t actually a prefab I made it was an imported 3d model (which are prefabs?) that I had removed. Now I don’t appear to be getting the error at all. So as usual user error!