Topic: Add new characters(Prefab setting?)

I am making this in the form of a rewrite of the asset sample.
I added a new character and tried to start it in training mode, but the match does not start.
The error message is below ↓

Null reference exception :
Object reference not set to an instance of an object.

In the "Character Prefabs" section
Lording Method → Resource Folder.
Default Prefab Path → New Character
I think this is the cause of the problem, because when I changed the Default Prefab Path back to the one in the sample before the change, it started up.
How do I make it so that the game starts?

Share

Thumbs up Thumbs down

Re: Add new characters(Prefab setting?)

Your trying to load your character through resources I take it?
I haven't really used resources but I know you need to have the character prefab in a folder named resources and use the correct path for it

Share

Thumbs up +1 Thumbs down

Re: Add new characters(Prefab setting?)

Thanks.
Sorry for the newbie question.
What kind of file is a prefab(extension)?

I don't know how to make one because I've been making them in overwrite,
so if you know description site about it, tell me the URL.

Share

Thumbs up Thumbs down

Re: Add new characters(Prefab setting?)

Which one of these are you using to load your character?
https://i.imgur.com/ukL5WPY.png
I'd recommend prefab for the simplest approach.

Are you trying to make a character prefab?

Share

Thumbs up +2 Thumbs down

Re: Add new characters(Prefab setting?)

I didn't know how it worked, but I did.
Thank you.
How do I make a prefab of my character?
(In this time, I duplicated the sametype of file in the sample and renamed it.)

Share

Thumbs up Thumbs down

Re: Add new characters(Prefab setting?)

This video might help. Let me know if your still having trouble.
https://youtu.be/2q6HtL9L_GY

Share

Thumbs up +1 Thumbs down

Re: Add new characters(Prefab setting?)

Thanks.
I'll check.

Share

Thumbs up Thumbs down