Search Issue Tracker
Fixed in 2017.2.0f3
Fixed in 2017.1.X
Votes
0
Found in
2017.1.0b7
Issue ID
920303
Regression
Yes
Shader using UsePass does not recompile when referenced shader is changed
How to reproduce:
1. Import users attached assets (Source shader, UsePass shader and a material)
2. Notice that Console produces two errors regarding Shader syntax. One for "ExampleSourceShader", another for "ExampleUsePass" shader that references to "ExampleSourceShader"
3. Fix the Source shader syntax error (uncomment 11th line of "ExampleSourceShader")
Expected result: Both errors are gone, since Source shader syntax error is fixed
Actual result: "ExampleUsePass" is still shown as having a syntax error in Shader, although its refrenced shader was fixed
Notes:
1. Reimporting "ExampleUsePass" shader fixes the issue
2. Only reproduces if "ExampleUsePass" shader is used by material
Regression introduced in - 2017.1.0a3
Reproducible - 2017.2.0a3, 2017.1.0b9, 2017.1.0a3
Not reproducible - 2017.1.0a2, 5.6.1p3, 5.5.4f1
Fixed in 2017.3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [iOS] Application.deepLinkActivated does not get invoked while app is running when UIApplicationSceneManifest is added in Info.plist
- Inspector scroll area stretches when using components with nested serialized arrays on FBX model prefab instances
- Crash on ConstraintProjectionTree::projectionTreeBuildStep when ConfigurableJoint uses JointProjectionMode.PositionAndRotation and connected Rigidbody switches from kinematic to non-kinematic
- ScriptableObject asset is accessed during the lookup of Build Profiles when opening the Build Profiles Window
- [Multiplayer TPS Sample] Grenade launcher explosion misses the Player when the Collider count exceeds HitColliderBuffer
Add comment