Search Issue Tracker

Won't Fix

Votes

0

Found in

2018.2.10f1

Issue ID

1092155

Regression

No

[UI] Button's OnClick Action doesn't recognize methods when an Assembly Definition is added anywhere in the project

uGUI

-

Repro steps:
1. Open user attached project
2. Open scene "Test"
3. Enter Play Mode
4. Press the Button in the Game View and observe the Console

A message is logged in the Console "Received Argument ....."

5. Exit Play Mode
6. Create an Assembly Definition file anywhere in the project
7. Wait for the Editor to Hot Reload
8. Repeat steps 3 and 4

Expected: The same message is logged in the Console
Actual: No messages in the Console and on the Button component of the Button GameObject in the OnClick section the method is identified as <Missing>

Reproducible with: 2017.4.14f1, 2018.2.14f1, 2018.3.0b7, 2019.1.0a6

Notes:
- Re-selecting that method in the OnClick section of the Button component fixes the issue

  1. Resolution Note (2019.1.X):

    Low priority defect for the moment. This bug is unlikely to be fixed in the near future.

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.