Search Issue Tracker
Fixed in 1.7.4
Votes
0
Found in [Package]
0.8.4-preview
Issue ID
1183875
Regression
No
[Addressables] NullReferenceException appears when addressable scriptable objects are being loaded to the scene
To reproduce:
1. Open attached project
2. Press play in the editor
3. Check the console for errors
Actual results: NullReferenceException appears after entering play mode
Expected results: There should be no errors
Reproduced with: 2018.4.10f1; 2020.1.0a7
Errors:
NullReferenceException: Object reference not set to an instance of an object
CustomizationController+<>c.<Start>b__9_0 (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1[TObject] op) (at Assets/Scripts/CustomizationController.cs:36)
DelegateList`1[T].Invoke (T res) (at Library/PackageCache/com.unity.addressables@1.2.2/Runtime/ResourceManager/Util/DelegateList.cs:69)
UnityEngine.Debug:LogException(Exception)
DelegateList`1:Invoke(AsyncOperationHandle`1) (at Library/PackageCache/com.unity.addressables@1.2.2/Runtime/ResourceManager/Util/DelegateList.cs:73)
UnityEngine.ResourceManagement.ResourceManager:Update(Single)
MonoBehaviourCallbackHooks:Update() (at Library/PackageCache/com.unity.addressables@1.2.2/Runtime/ResourceManager/Util/MonoBehaviourCallbackHooks.cs:19)
Exception encountered in operation UnityEngine.AddressableAssets.Initialization.InitializationOperation, result='', status='Succeeded' - Chain<DataScriptableObject,IResourceLocator>: ChainOperation of Type: DataScriptableObject failed because dependent operation failed
Unknown error in AsyncOperation
UnityEngine.ResourceManagement.ChainOperation`2:OnWrappedCompleted(AsyncOperationHandle`1)
DelegateList`1:Invoke(AsyncOperationHandle`1) (at Library/PackageCache/com.unity.addressables@1.2.2/Runtime/ResourceManager/Util/DelegateList.cs:69)
UnityEngine.ResourceManagement.ResourceManager:Update(Single)
MonoBehaviourCallbackHooks:Update() (at Library/PackageCache/com.unity.addressables@1.2.2/Runtime/ResourceManager/Util/MonoBehaviourCallbackHooks.cs:19)
Exception encountered in operation Resource<DataScriptableObject>(DataObject.asset): Unknown error in AsyncOperation
UnityEngine.AsyncOperation:InvokeCompletionEvent()
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 warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 1.7.4):
Disallow DragAndDrop onto ReadOnlyGroups (ie Built in Data)