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

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.