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 community.
※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 Ventura 13.0] (12/20/2022)
The currently released Live2D Cubism SDK is not guaranteed to work with macOS Ventura.
Please refrain from upgrading the macOS as they may not work properly.
The Cubism Editor license file may be lost after the macOS upgrade.
Please make sure to deactivate the Cubism Editor license before upgrading the macOS.
For more details
[NOTICE]
About the support for Mac models
Cubism Editor is not supported with Apple M1 processors.
Please refer to System Requirements for details.
We will not respond to any related inquiries with this message.

Model import fails, with CreateData NullReference

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.