I’ve had this happen a few times now where I make a change in a script, get back to Unity, but then during reloading the domain, the importing process gets permanently stuck in importing Decal.shadergraph. I need to force close and restart Unity to proceed. This happens seemingly randomly.
I am using a few different decal materials in the project and I remember opening the decal shadergraph at some point but I haven’t made edits to it and in general I have not touched it in any way for a while.
After restarting Unity, I noticed an error in the log “Error in Graph at Packages/com.unity.render-pipelines.universal/Shaders/Decal.shadergraph on line 1: Parse error: syntax error, unexpected $end, expecting TOK_SHADER”. I don’t remember seeing this one before when the importing has gotten stuck. I’m not sure if this was caused by force closing the editor or not.
I’ll attach the relevant part of the Editor.log that shows the import process repeating until I force closed Unity.
Any ideas how to prevent this from happening in future?
Unity_ImportError.txt (247.3 KB)