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
- Shader Graph Create Node window cannot be resized or moved after maximizing and reopening it
- [Usability] Cannot toggle Scene checkboxes using TAB/Enter in Build Profiles’ > Open Scene List
- Installing HDRP package throws Shader Graph validation warning about Exposure node when installed in Universal 3D Template
- ShaderGraph “Create Node” menu’s resize icon overlaps with the menu's scrollbar
- ShaderGraph “Create Node” menu’s Search bar's typing cursor is barely visible since it's black on a dark background
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;