Jump to content
AK6922

A18 Modding - Custom Doors & Unity

Recommended Posts

Posted (edited)

So I am currently attempting to add custom doors into 7 Days To Die. I am already capable of adding basic models. However when trying to add a door I keep getting an error in game. For the animation of the door, I followed https://www.studytonight.com/game-development-in-2D/animation-animator. After correcting the referenced site's script that was throwing an error for a seemingly random letter, "s", everything in Unity is working fine without any errors. However when attempting to equip the Door in game in order to place it, the following error is shown:

 

Calling Animator.GotoState on Synchronize layer

The referenced script (DoorManagerScript) on this Behavior is missing!

The referenced script on this Behavior (Game Object 'Door Manager') is missing!

The referenced script on this Behavior (Game Object 'Door Manager') is missing!

NullReferenceException: Object Reference not set to an instance of an object

 

I know I'm missing some important step(s) or perhaps even going about it completely wrong, since I am kinda a noob and couldn't find much on creating a custom door. However if anyone could provide me with some help or even some tutorials for me to follow, I would be very grateful.

 

SOLVED: Found Xyth's tutorials on Mechanim.

Edited by AK6922
SOLVED (see edit history)

Share this post


Link to post
Share on other sites

congrats

  • Sad 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...