Search Issue Tracker
By Design
By Design in 1.21.X
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
- Look Dev constantly regenerates the default Volume Profile when set to "None" instead of using the default one
- Look Dev errors are spammed when opening a new HDRP project when Look Dev was added to the layout in the previous project
- URP Scene Templates are not editable when first opened from the New Scene dialog
- Look Dev window flickers when resizing the window after docking it
- UI breaks when Multiplayer Center window section divider is moved too far
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;
Resolution Note (1.21.X):
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;