Search Issue Tracker
Won't Fix
Votes
1
Found in
2017.2.0f3
Issue ID
1044216
Regression
No
Material that has properties with same name as builtins will break lots of things
To reproduce:
1. Open "uvbug2" project attached in comment
2. open repro scene and hit play
-> The uv scroll from right to left + speed is constant (CORRECT)
3. Exit play mode, build a standalone player, run the player
-> The uv scroll from top-right to bottom-left + speed is accelerating (WRONG)
4. Go back to the editor, select material "mat1" in Project view
5. On the Inspector, click on the gear icon and click "Reset"
6. The material will be reset. Type 1 for U Speed, 0 for V Speed, use "Default-Particle" as the noise texture on the material
7. hit play
-> The uv scroll from right to left + speed is constant (same as step 2) (CORRECT)
8. Exit play mode, save scene, build a standalone player, run the player
-> The uv scroll from right to left + speed is constant (same as step 2) (CORRECT)
Reproduced on:
5.6.6f2 2017.1.4f1 2017.2.3p1 2017.3.2f1 2018.1.2f1 2018.2.0b6 2018.3.0a1
Notes:
Reproduces on win10 and MacOS High Sierra 10.13.4
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 Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
- Editor crashes on D3D12GetInterface when repeatedly enabling and disabling 256 text components
Resolution Note:
This issue is actually caused by saved Material properties names conflicted with builtin shader variable names.
Easy workaround would be resetting the Material:
1. Select the material
2. On Inspector, click on the gear icon on top left > Reset
OR
1. Select the material
2. On Inspector tab > right click > Debug
3. Saved Properties > Floats, remove the items that has conflict, i.e. _Time