Hi everyone,
I’ve encountered a significant issue with Unity 6 Preview related to the GPU Resident Draw feature. Whenever I enable this feature, the editor becomes extremely unstable. I’m working on a large game project that I’ve been developing for over a decade, which makes troubleshooting challenging. Despite my efforts, I haven’t found much information online, so I’m reaching out here to see if anyone else has experienced similar problems or has any insights.
Here’s a summary of the issues I’m facing:
- Frequent Crashes: The editor crashes every 30 minutes, particularly when exiting play mode. Fortunately, tools like HotReload and PlayModeSave help me continue development in play mode, but this is far from ideal.
- Build Failures: Unity crashes towards the end of the build process. I’ve managed to mitigate this by closing all scenes and reducing the game window resolution to 16:9, but it’s unreliable and adds extra steps.
- Level Streaming Tool Issues: I use a custom level streaming tool to handle large levels (500k+ prefabs), loading and unloading scenes as needed. After a few iterations, the game build crashes consistently.
- Editor Instability: Simple actions like clicking or pressing undo can crash the editor.
Despite these issues, enabling GPU Resident Draw offers a 2-4x performance boost, which is why I’ve continued using it despite the instability. After several weeks of troubleshooting, I found that disabling GPU Resident Draw basically eliminates the crashes.
The crash logs consistently show a Null Reference Exception in Burst. Given the size and complexity of my project, pinpointing the exact cause is challenging. However, since the problems vanish when GPU Resident Draw is disabled, I suspect there might be a bug related to this new feature.
Has anyone else encountered similar issues with GPU Resident Draw, or does anyone have suggestions on how to further diagnose this problem?
Thanks in advance for any help or insights!