Search Issue Tracker
Fixed in 2019.2.X
Fixed in 2017.4.X, 2018.3.X, 2019.1.X
Votes
0
Found in
2018.1.9f2
Issue ID
1099165
Regression
No
[Crash] [OpenGLES3] Shader compile errors and duplicate struct defines
To reproduce:
1. Open attached project "2018.1.9f2.zip"
2. Set Graphics API to OpenGLES3
3. Open "test.unity" scene
4. Open "testshader.shader" change something and save
5. Observe an error in Editor console:
GLSL compilation failed:
ERROR: 0:15: 'b1_Type' : syntax error: syntax error
6. Select "testshader.shader" and in Inspector window change Compiled code drop-down settings to Custom: OpenGLES30 and press Compile and show code
7. Observe as there are duplicate struct defines
Expected result: struct defines do not duplicate
Actual result: the are duplicate struct defines
Reproduced on:
2017.4.0f1 2017.4.17f1 2018.1.9f2 2018.2.19f1 2019.1.0a12
Notes:
On 2018.3.0f1 opening the scene Unity crashes.
Doesn't reproduce on OpenGLES2 and Metal
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Global Settings Asset “Open Project Settings > Graphics …” text overflows the button bounds when Inspector is narrow
- The “x” button to delete the input for the Source project is inconsistent and only appears when hovered and creating a new Template
- The “Next” button is not greyed out and still active when creating a new Template in the Hub and the Source project was selected but then something was searched with no options
- “Select a project.” label under the title is not needed because the Source project dropdown already has a placeholder “Search or select a project” when creating a new Template in the Hub
- [Usability] “Sorry, no templates match the search “”” message is not informative when creating a new Project in the Hub with Custom Template filtering enabled but no Custom Templates created
Add comment