0
Fixed

If a Cubmap is not marked as readable shaderforge will crash and corrupt the shader file making you lose all your progress.

Filipe Silvestrim 9 years ago updated by IngramsFlight 9 years ago 2
In order to reproduce it create a cubemap via asset > create > legacy > cube map. Do not mark the cubemap as readable.

Go to shader forge and create a new unlit shader with a cubemap assigned to custom light.

Go back to unity, assign the shader to a material, assign the cubemap, now try to open the shader via the button "Open shader with shaderforge". The window will be empty and a lot of error will pop in the output. And what's worst, the shader code will be corrupted and wiped to an "new shader" template,

Answer

Answer
Fixed
This has now been fixed in 1.17
Answer
Fixed
This has now been fixed in 1.17
Thank you guys for getting this - Filipe for identifying the workaround, and Joachim for fixing it! I made the same shader 3 separate times, after it was corrupted.