• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

A18 Modding - Custom Doors in Unity

AK6922

Refugee
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.

 
Back
Top