foreach (var atlas in atlasList) {
for (int i = 0; i < missingPaths.Count; i++) {
if (atlas.FindRegion(missingPaths[i]) != null) {
missingPaths.RemoveAt(i);
i
---
;
}
}
}
NullReferenceException: Object reference not set to an instance of an object
Spine.Unity.Editor.SkeletonDataAssetInspector.PopulateWarnings () (at Assets/Git/Spine/Editor/spine-unity/Editor/Asset Types/SkeletonDataAssetInspector.cs:664)
Spine.Unity.Editor.SkeletonDataAssetInspector.InitializeEditor () (at Assets/Git/Spine/Editor/spine-unity/Editor/Asset Types/SkeletonDataAssetInspector.cs:141)
Spine.Unity.Editor.SkeletonDataAssetInspector.OnEnable () (at Assets/Git/Spine/Editor/spine-unity/Editor/Asset Types/SkeletonDataAssetInspector.cs:84)
[Worker0] NullReferenceException: Object reference not set to an instance of an object
Spine.Unity.Editor.SkeletonDataAssetInspector.PopulateWarnings () (at Assets/Git/Spine/Editor/spine-unity/Editor/Asset Types/SkeletonDataAssetInspector.cs:664)
Spine.Unity.Editor.SkeletonDataAssetInspector.InitializeEditor () (at Assets/Git/Spine/Editor/spine-unity/Editor/Asset Types/SkeletonDataAssetInspector.cs:141)
Spine.Unity.Editor.SkeletonDataAssetInspector.OnEnable () (at Assets/Git/Spine/Editor/spine-unity/Editor/Asset Types/SkeletonDataAssetInspector.cs:84)
UnityEditor.AssetPreviewUpdater:CreatePreviewForAsset(Object, Object[], String) (at /Users/bokken/buildslave/unity/build/Editor/Mono/AssetPreviewUpdater.cs:9)
The "atlas" can be in some cases NULL.