Search Issue Tracker
Duplicate
Votes
1
Found in
5.6.0b3
Issue ID
869946
Regression
Yes
Surface shader compilation breaks when using worldPos
To reproduce:
1. Open attached project;
2. Open "Test" scene;
3. Look at the "Test" shader in the Inspector panel.
Expected result: there are no shader errors when using worldPos input.
Actual result: pink textures, Inspector and console throws errors:"UnityGetRawLightMaskOrProbeOcclusions': no matching 2 parameter function at line 180 (on d3d11)" and "Invalid subscript 'worldPos' at line 180 (on d3d11)".
Reproduced on versions: 5.6.0b3.
Not reproduced on versions: 5.5.0f3.
Comments (1)
-
Venryx
Jan 24, 2017 13:56
I have this issue in my project as well, after upgrading from 5.4 to 5.6.0b4.
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
- Editor crashes and a window with "GetManagerFromContext: pointer to object of manager 'MonoManager' is NULL (table index 5)" error is shown when launching a freshly created project
- Editor Windows dragging behavior is erratic/glitchy when a specific multi-display setup is used and the Editor window is not on the main display
- Meta Quest missing an icon in Build Profiles window in U6.0
- Foldout arrow indent is misaligned in the Inspector when used for Arrays or Lists
- Material import pipeline strips properties when it is added with a script
This is a duplicate of issue #872014