Search Issue Tracker

Won't Fix



Found in



Issue ID




Crash when project is reopened or upgraded

Shader System


When reopening the attached project in Unity 2019.4.18f1or upgrading it to 2019.4.19f1 Unity will crash. This seems to be related to the metal API/Project Settings as if we use the automatic API option the crash does not happen. (Although the scene is rendered incorrectly)

Issue found while testing

Video Attached

Steps to reproduce
- Download project from
- Open the project in 2019.4.18f1
- Open the shapes gallery scene.
- Save and close.
- Reopen with 2019.4.19f1, or 2019.4.18f1
Notice issue >> Crash! Bug reporter is fired.

Tested Platform: macOS 11.1 (20C69)
Reproducible: 2019.4.18f1, 2019.4.19f1

  1. Response avatar

    Resolution Note:

    so, if you first open with 2019.4.18f1 without the fix - it will generate bad shader code.
    for these fixes we decided to NOT update shader importer version (they hit very specific edge cases and it doesnt sound important enough to force everybody to reimport their shaders).
    so when you open in 2019.4.19f1 you STILL have bad shader code generated. You can solve this by clearing shader cache
    either from menu "Assets->Clear Shader Cache" or manually killing Library/ShaderCache and Library/ShaderCache.db

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.