Search Issue Tracker

Not Reproducible

Votes

0

Found in

5.0.0a1

Issue ID

593929

Regression

Yes

AngryBot game triggers no longer work

Standard Assets

-

-e: the triggers to enable the switches for the doors no longer works, an exception is thrown

-repro:
--import angry bots
--start the scene
--walk to the 1st trigger where you have to switch the line in the floor from red to green
--stand in the trigger area
--NOTICE nothing happens and exceptions are thrown

NullReferenceException: Object reference not set to an instance of an object
SetCheckpoint.OnTriggerEnter (UnityEngine.Collider other) (at Assets/Scripts/Modules/SetCheckpoint.js:7)

--when leaving the trigger zone:
Inertia tensor must be larger then zero in all coordinates.
UnityEngine.GameObject:SetActive(Boolean)
DisableOutsideRadius:Disable() (at Assets/Scripts/AI/DisableOutsideRadius.js:32)
DisableOutsideRadius:OnTriggerExit(Collider) (at Assets/Scripts/AI/DisableOutsideRadius.js:25)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.