Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
2017.1.0a1
2017.3.0f3
Issue ID
981451
Regression
Yes
Unity Crashes when vertex shader slider property value is being changed after project restart
How to reproduce:
1. Open Unity
2. Load user-submitted project(Demo_Unity.zip)
3. Open 'Extended_Snow_Scene.unity' scene
4. Select 'Extended_Snow_Material.mat'
5. Change either 'Level of snow' or 'Snow depth' properties
Extended reproduction steps:
1. Open Unity
2. Load user-submitted project(Demo_Unity.zip)
3. Open 'Extended_Snow_Scene.unity' scene
4. Edit 'Extended_Snow_Effect.shader' vertex function(preferably where 'Level of snow' or 'Snow depth' properties are used)
5. Select 'Extended_Snow_Material.mat'
6. Change either 'Level of snow' or 'Snow depth' properties
(Unity doesn't crash if the shader has been edited after Unity Editor startup)
7. Close Unity and open the same project and scene again
8. Select 'Extended_Snow_Material.mat'
9. Change either 'Level of snow' or 'Snow depth' properties
Expected result: Unity applies new property values to shader results
Actual result: Unity crashes indicating that an error occurred while finding material properties
Reproducible with - 2017.1.0a1, 2017.1.3f1, 2017.2.1p1, 2017.3.0p1, 2018.1.0b1
Not reproducible with - 5.6.5f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment