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
- Beyond Compare 5 is not supported by Yaml Merge
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Resolution Note (2019.1.X):
Low priority defect for the moment. This bug is unlikely to be fixed in the near future.