Search Issue Tracker
Fixed in 2018.2.X
Won't Fix in 2018.1.X
Votes
0
Found in
2018.1.0a1
2018.1.0b2
Issue ID
992989
Regression
Yes
Using 'Forward Add' shadow rendering mode produces irrelevant syntax error
How to reproduce:
1. Open Unity
2. Create a new project
3. Import tester-submitted shader (Test.shader)
4. Inspect shader syntax error pointing at line 102 (unexpected ';')
5. Switch to alternative shadow rendering mode at line 74
6. Notice shader syntax error disappear at line 102
Expected result: Unity compiles both shadow rendering modes correctly.
Actual result: Unity does not compile 'Forward Add' shadow rendering mode and complains about syntax errors
Reproducible with - 2018.1.0a1, 2018.1.0b6
Not reproducible with - 5.6.5p1, 2017.1.3p1, 2017.2.1p3, 2017.3.1p1
Verified in: 2018.2.0a5
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Add comment