Search Issue Tracker
Not Reproducible
Votes
0
Found in [Package]
4.0.0
Issue ID
1107604
Regression
No
Shader variable set with SetColor() resets after refocusing the Editor when the version control is set to 'Hidden Meta Files'
How to reproduce:
1. Open user-submitted project (IssueProject)
2. Open scene '1'
3. Enter Play Mode
4. Click outside of Unity editor to lose focus
5. Refocus on Unity editor
Expected result: the cube remains colored green
Actual result: the cube resets to color black
Reproducible with: 2018.3.1f1, 2019.1.0a12
Could not test with: 2018.2.20f1, 2018.3.0a11, (The shader has dependencies to a LWRP version, incompatible with these versions)
Notes:
The shader in the project is dependant on LWRP
The issue only reproduces when the version control setting under Project Settings > Editor is set to 'Hidden Meta Files'
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- 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
- Errors and warnings are thrown after installing Visual Effect Graph Learning Samples
- Add Behaviour dropdown has a part in which the dropdown outline is cut out when the Add Behaviour dropdown is opened
Add comment