Is there a known issue of old assets in unity causing strange GPU related crashes?

I have a project that’s been in development since Unity 2017 or so, and I’ve upgraded the project over time now on Unity 6. This time though I started a new project and just copied assets over rather than a simple upgrade.

But since doing that I’ve encountered 2 severe issues. I haven’t been able to take the time to reproduce the issue yet.

  • I tried out GPU occlusion culling on a whim, and suddenly my builds were crashing. It took me a while to break it down to GPU occlusion culling, but what was bizarre is it was a specific doornob model causing the problem! If that doorknob model came into view at any point the game would crash in build only. There was no error log to explain this behavior, but I confirmed it by disabling the object,
  • The issue showed it’s head again when I accidentally mass enabled “contribute to GI” on all objects, including that doorknob model. As a result it broke light baking for me until I rolled back the change! (granted not just the doorknob but it was included)

Is this kind of behavior known? Where certain models severely interfere with unity.

I haven’t gotten rid of the doorknob yet just cause I need to isolate it to send a project lol.

The older something is the more chance it has accumulated cruft, such as all the info that goes into the .meta file and other Unity-managed files such as prefabs and scenes and whatnot.

It’s really awesome that you tracked it down to the one Doorknob-o-Death… that gives you a focal point.

If it’s part of a prefab, edit it and change something, then resave it.

Try replace just the mesh, perhaps with the default cube.

Try replace the material.

Try rebuilding the lighting everywhere.

And of course try the good old reimport all.

And if you’re using source control you can often get some intel noticing what Unity changes when you edit an old prefab or scene. I saw this recently with a changed prefab property (the size field in particle systems) that changed between Unity versions and my prefabs were inconsistently being overridden in scenes.

Yeah what I would really like to see is a proper error log for this kind of issue, which is why I haven’t exactly tried to fix it. But if it could be identified it might save some headaches in the long term.