Howdy, Stranger!

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

Dear Users,

Now, we are seeking users who can give us a hand with expertise to evolve our software more dynamically.
If you are willing to help us, we’d like you to make a registration for “Live2D Creators Circle” via the link below.
Designers, programmers, translators are especially welcomed so far.
(More detailed explanation will be given to you before we ask you to do tasks)

https://docs.google.com/forms/d/1G5KK_GL3ozwPXtTHrpi_ktbsI8UZf8jlYRSlDworyBo/viewform?usp=send_form

Can't put my own character on Unity, help please :)

Hi, I use Unity 4.5 on a mac
I created my own character and just create simple motion for testing and learning purposes.
I have added the "bytes" extension to moc, json and mtn files
I use the Live2D_Canvas from SDK, copied all the files and maintaining the structure.
and after I set my json to the script and run it, it says :
NullReferenceException: Object reference not set to an instance of an object
LAppModel.loadModelData (System.String modelFile, System.String[] texFiles) (at Assets/Scripts/sample/LAppModel.cs:193)
Which was :
193. live2DModel = Live2DModelUnity.loadModel(modelMoc.bytes);
I'm not sure what I did wrong, but if I switch it to "shizuku's" json file (copied and run from my own Unity project), it worked fine. So I decided to open both Json file using Text Edit and saw a difference on the top of the file.
Mine has different path (no path at all), and also it says "type : Live2D model setting", while Shizuku does not have that.
tried re-doing, re-export, ,re-trace all the steps, but none worked, I must have overlooked or missed something.

Can anyone help?
Tagged:

Comments

Sign In or Register to comment.