Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Please limit one question/topic per post.
Please provide the following details depending on types of question

▼ For question regarding Editor, please provide:
- Live2D Software Version: (e.g. Cubism Editor 3.1.02, Euclid Editor 1.2.02)
- OS & Version: (e.g. Windows 10, macOS HighSierra)
- PC Model: (e.g. MacBookPro 2017)
- Graphics Specifications: (e.g. GeForce GTX 950M)
- Memory: (e.g. 8GB)
- Illustration Software used: (e.g. Photoshop, ClipStudio, SAI)
- Attach screenshot or capture video to show your problem:
---------------------------
▼ For question regarding SDK, please provide:
- For us to reproduce the issue you wish to inquire about, please provide either a minimum project file which has the issue. or specific instructions on how to reproduce the issue.
- Types and version of Cubism SDK you are using.
---------------------------
▼ For question regarding Cubism Software License,
For issues related to purchasing, your order, license key, and subscription, please contact us via contact form:
https://www.live2d.com/en/contact/contact_form

Unity NullReferenceException error

Hello

I am having difficulty getting a model to display in unity, i keep getting the error "NullReferenceException: Object reference not set to an instance of an object".
If it helps the actual model I am using is this one: http://library.live2d.com/libraries/view/000049/kamiyoshi
However I have added some extra motion files that all work in the live2D viewer.
I attached a screenshot so you can see if there are any problems.

Any help would be appreciated
Tagged:

Comments

  • Hi, Randomhuman.
    I was able to draw the Live2D model at SampleApp1.

    This problem I think extension of model.json.
    Please you to modify file extension from the Windows Explorer.

    <file extension fix>
    model.1024.model.json.bytes → model.1024.model.json


    If you do not resolve , please show me the contents of model.json .
  • Thanks
    I think the problem is fixed, removed .bytes extension from everything and it worked.

    I was previously following tutorials that instructed you to add a .bytes extension, I guess this changed at some point.

    my folder however doesn't contain the files with the .meta extension (however it seems to run normally without them), i don't know why.

    thanks for the help
Sign In or Register to comment.