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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (2019.1.X):
Low priority defect for the moment. This bug is unlikely to be fixed in the near future.