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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Resolution Note (2019.1.X):
Low priority defect for the moment. This bug is unlikely to be fixed in the near future.