I'm getting the following null reference exception when adding detonator to an empty game object...
NullReferenceException DetonatorFireball.UpdateFireShadow () (at Assets/Standard Assets/Detonator/System/DetonatorFireball.cs:159) DetonatorFireball.Explode () (at Assets/Standard Assets/Detonator/System/DetonatorFireball.cs:195) Detonator.Explode () (at Assets/Standard Assets/Detonator/System/Detonator.cs:335) Detonator.Start () (at Assets/Standard Assets/Detonator/System/Detonator.cs:278)
To get the above error, all I did was (exactly as described in the Detonator document)... 1. Add an empty game object to my scene. 2. On the new game object, select Component->Detonator->Detonator from the main menu.
This adds the main Detonator script to the empty game object, but with "explode on start" set I get the above error when first running the game.
Is there an additional package that I need to import, or perhaps an additional component that I need to add to the empty game object to get this to work?
The test scene that comes with the detanator package works fine.