Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.17.6-preview
Issue ID
ADDR-1871
Regression
No
Addressables don't detect IPreprocessShaders changes after building new script
How to reproduce:
1. Open the user's attached "BugAddressablesIPreprocessShader.zip" project
2. Go to Window -> Asset Management -> Addressables -> Groups
3. Clean the Cache (Build -> Clean Build -> All)
4. Build the Script (Build -> New Build -> Default Build Script)
5. Uncomment everything in the "StripShader" script
6. Repeat step 4 and then Build And Run
7. Observe the Cube in the Player
Expected result: Cube is green (IPreprocessShaders change was detected)
Actual result: Cube is red (IPreprocessShaders change was not detected)
Reproducible with: 1.16.6, 1.17.6-preview (2018.4.32f1, 2019.4.22f1, 2020.3.1f1, 2021.1.0b12, 2021.2.0a9)
Note:
- It's possible to work around this by cleaning the Cache in step 6 before building a new script
Comments (1)
-
Peter77
Mar 18, 2021 15:22
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
- The Decal Projector component Scene view editing tools are not visible in the Inspector window when Editor theme is set to Light
- An “Assertion failed on expression” error is thrown when building an AssetBundle and two assets have the same name
- Real delta time is different than deltaTime and uscaledDeltaTimeFixed when using multiple monitors with different refresh frequencies set in Windows options
- Persisted event listeners are reset when collapsing and expanding a component in the Inspector
- Floating Material Preview window has a burger icon button that does nothing when pressed
Resolution Note:
[VersionedCallback] was implemented for adding basic change detection to existing build callbacks. To support the requested use case, this would require changes to the engine callback interfaces which are API breaking changes, additional changes to SBP and the native engine build pipelines would be necessary to support this as well. Due to the scope of that work, and the breaking nature of the requested change, this is not a change we will do at this time.