Search Issue Tracker

Won't Fix

Votes

0

Found in

5.4.0b5

Issue ID

769511

Regression

No

[UI] Object shown as missing if removing component from a gameobject, OnClick event was set to

UI

-

- Add a UI Button to a scene
- Add an empty gameObject, e.g. GO1
- Attach a script or amy other component e.g. BoxCollider to GO1
- For Button add OnClick event, set object to GO1 and set e.g. BoxCollider.isTrigger to true.

Case1: - Now delete BoxCollider component from GO1
- Check that OnClick event for Button shows object as "Missing"
Case2: - In OnClick event for Button, leave gameobject set to GO1, and set event to "NoFunction"
- Remove BoxCollider from GO1
- Check that OnClick event for Button shows object as "Missing"

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.