Search Issue Tracker
Fixed in 5.5.0
Votes
0
Found in
5.3.3p2
Issue ID
776852
Regression
No
[GraphicsAPI] Shaders do not reimport when switching from an API where they don't work to one where they do.
When switching from GLCore to OpenGL2 and some shader functionality doesn’t work, switching back to GLCore won’t make the shader work until a restart or manual reimport of the shader.
Repro steps:
1. Open examples scene from attached project
2. Go to Player settings, uncheck “Auto Graphics API for Mac” and switch the default API to OpenGL2.
3. Observe model in scene view becomes pink and shader errors appear.
4. Switch the API back to OpenGLCore.
5. Observe how the shader in the scene is still not working.
Expected outcome: shader to automatically reimport/update when Graphics API is switched.
Notes:
- Not a regression, tested back to 5.3.0f4 (2524e04062b4)
- restarting or manually reimporting the shader fixes the issue.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- Crash on dynamixel_sdk.dynamixel:groupSyncReadTxRxPacket when entering Play Mode after updating path to Dynamixel SDK in script
- NullReferenceException is thrown when changing the Inspector preview selection
Add comment