My project fails to load every time I try to start it up. It will display the Unity graphic, and then when it gets to “Initialize Graphics”, it simply shuts down/crashes to desktop.
I looked in the Editor logs and found where it says it’s crashing at. It says this: “Shader ‘Hidden/AstarPathfindingProject/Navmesh Outline’: fallback shader ‘None’ not found”
I’m assuming that means Unity is expecting a shader for some reason, but doesn’t find anything, and then for some reason just crashes. Is there a way to fix this?
Does this happen even in a new empty project? Did this issue always happen to this project? If not, what changed, and does it affect your project if you roll back to an earlier version where you know you used to be able to open it?
This issue did not happen in this project until today. I was working on it yesterday, then came back to open it up today and it now crashes every single time.
It crashes immediately after that Editor log line I mentioned in the first post, so I’m assuming it has something to do with shaders.
I’ll post the lines leading up the crash in a new post, I’m on a different comp right now.
Here are the lines leading up to the crash in the Editor log:
WARNING: Shader Unsupported: 'Enviro/BumpedDiffuseOverlaySM2' - All passes removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader Unsupported: 'Enviro/BumpedDiffuseOverlaySM2' - All passes removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
Shader 'Hidden/AstarPathfindingProject/Navmesh Outline': fallback shader 'None' not found
Crash!!!
I’d go to a backup from before your edits yesterday, or use your version control to revert yesterday’s changes, and see if it will open correctly. Another thing to try would be going through the file manager to remove “Hidden/AstarPathfindingProject/Navmesh Outline”. See if it opens without that file. Did you just add this specifically yesterday?
I was hoping to not have to revert to an older version, but i might have to. I did try to remove the Navmesh Outline shader but unfortunately it didn’t solve the problem. It still crashes every time.
I’ll keep trying some things. Thank you for your help