Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

If you have any questions, reports, suggestions, or requests about Live2D, please send them to this forum.
※We cannot guarantee statements or answers from Live2D staff. Thank you for your understanding in advance.
 
Live2D Cubism
Cubism Products and Downloads
Cubism product manuals and tutorials
Cubism Editor Manual    Cubism Editor Tutorial    Cubism SDK Manual    Cubism SDK Tutorial
[About macOS Sequoia] (Updated October 22, 2024)
Live2D Cubism Editor 5.1.02 now supports macOS Sequoia.
Other Live2D Cubism products currently released are not guaranteed to work on macOS Sequoia.
Please refrain from upgrading macOS, as it may not operate properly.

Model import fails, with CreateData NullReference

edited December 2023 in Help
Unity Version: 2019.4.40f
Live2D SDK Setting: SDK4.2/Cubism4.2
Cubism for Unity Version: Cubism 4 SDK for Unity R4_2

and I got this:
```
System.NullReferenceException: Object reference not set to an instance of an object
at Live2D.Cubism.Core.CubismDynamicDrawableData.CreateData (Live2D.Cubism.Core.Unmanaged.CubismUnmanagedModel unmanagedModel) [0x00001] in F:\!UnityProjects\Live2DStudio\Assets\Live2D\Cubism\Core\CubismDynamicDrawableData.cs:29
at Live2D.Cubism.Core.CubismTaskableModel..ctor (Live2D.Cubism.Core.CubismMoc moc) [0x00038] in F:\!UnityProjects\Live2DStudio\Assets\Live2D\Cubism\Core\CubismTaskableModel.cs:145
at Live2D.Cubism.Core.CubismModel.Reset (Live2D.Cubism.Core.CubismMoc moc) [0x00016] in F:\!UnityProjects\Live2DStudio\Assets\Live2D\Cubism\Core\CubismModel.cs:295
at Live2D.Cubism.Core.CubismModel.InstantiateFrom (Live2D.Cubism.Core.CubismMoc moc) [0x00022] in F:\!UnityProjects\Live2DStudio\Assets\Live2D\Cubism\Core\CubismModel.cs:71
at Live2D.Cubism.Framework.Json.CubismModel3Json.ToModel (Live2D.Cubism.Framework.Json.CubismModel3Json+MaterialPicker pickMaterial, Live2D.Cubism.Framework.Json.CubismModel3Json+TexturePicker pickTexture, System.Boolean shouldImportAsOriginalWorkflow) [0x00022] in F:\!UnityProjects\Live2DStudio\Assets\Live2D\Cubism\Framework\Json\CubismModel3Json.cs:382
at Live2D.Cubism.Editor.Importers.CubismModel3JsonImporter.Import () [0x00003] in F:\!UnityProjects\Live2DStudio\Assets\Live2D\Cubism\Editor\Importers\CubismModel3JsonImporter.cs:168
at Live2D.Cubism.Editor.Importers.CubismImporterBase.Live2D.Cubism.Editor.Importers.ICubismImporter.Import () [0x00001] in F:\!UnityProjects\Live2DStudio\Assets\Live2D\Cubism\Editor\Importers\CubismImporterBase.cs:63
at Live2D.Cubism.Editor.CubismAssetProcessor.OnPostprocessAllAssets (System.String[] importedAssetPaths, System.String[] deletedAssetPaths, System.String[] movedAssetPaths, System.String[] movedFromAssetPaths) [0x00031] in F:\!UnityProjects\Live2DStudio\Assets\Live2D\Cubism\Editor\CubismAssetProcessor.cs:72
UnityEngine.Debug:LogError (object)
Live2D.Cubism.Editor.CubismAssetProcessor:OnPostprocessAllAssets (string[],string[],string[],string[]) (at Assets/Live2D/Cubism/Editor/CubismAssetProcessor.cs:77)
UnityEngine.GUIUtility:ProcessEvent (int,intptr)
```

When I debugged it, I got:

image

Comments

Sign In or Register to comment.