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
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
- Crash on ModelImporter::ImportSkinnedMesh when disabling "Strip Bones" on a specific FBX model
- WebGL Development builds ignore the "Compression Format" setting when using "Gzip" compression
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;