Search Issue Tracker
Won't Fix
Votes
0
Found in
4.5.0f6
Issue ID
610288
Regression
Yes
Shader compiler hangs on 4.5 in SpaceGraphicsToolkit package shaders
Shader compilers run out of memory in some shaders of SpaceGraphicsToolkit package. Seemingly a regression in 4.5.x; worked in 4.3.
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- URP ShadowCaster2D is misplaced and distorted when used with rotated Perspective Camera
- UI mesh is drawn twice when two cameras are used
- The Scene view top menu bar disappears when any Draw Mode other than "Wireframe" is selected in the specific project with a corrupted Material
- TabView.tabClosed EventHandler passes the wrong tab index as parameter when closing a tab from oldest to newest order
- Rigidbodies clip through terrain and snap back up when Heightmap Resolution is bigger than the terrain size
Aras
Sep 05, 2014 10:11
So in 4.5 we made Cg shader compiler report errors on correct line numbers by changing the way shader #includes are processed. However, this particular set of shaders has really convoluted way of #includes, that somehow makes Cg go into "leak a ton of memory!" mode outside of our control.
I'm afraid there's not much we can do here :(
Good thing is, in 5.0 we mostly got rid of Cg, so things should be better.