Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.19.19
1.20.5
1.21.1
Issue ID
ADDR-3069
Regression
No
ScriptableObjects are deleted when building Addressables
Reproduction steps:
1. Open the attached project “TestAddressablesScriptableObjects”
2. Click “AddressablesAndScriptableObjectTest/Run Test” in the menu bar
Expected result: The last message in the Console window is: “Ran Addressables build, test scriptable object exists [True]”
Actual result: The last message is: “Ran Addressables build, test scriptable object exists [False]”
Reproducible with: 1.19.19 (2020.3.42f1, 2021.3.14f1), 1.20.5 (2022.1.23f1), 1.21.1 (2022.2.0b15, 2023.1.0a19)
Reproducible on: macOS 12.4 (Intel)
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
- Profiler - Taking you to the wrong section when using 'show'
- Draw Renderers custom pass doesn't work with SSGI
- WebCamTexture does not set the requested resolution when used in WebGL
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
Resolution Note:
The scriptable objects are cleared during the build. In order to prevent this from happening, the scriptableObject needs to be hidden from the clearing system using hideFlags like testScriptableObject.hideFlags |= HideFlags.HideAndDontSave;