Search Issue Tracker
Fixed in 4.5.X
Votes
0
Found in
4.0.0f1
Issue ID
496529
Regression
No
Combining namespaces MBs with default params break
1) What happened
Combining namespaces MBs with default params break
Having a default parameter value specified for a method in a mono behaviour in a namespace will result in great weirdness - including the behaviour no longer being addable to GameObjects.
2) How can we reproduce it using the example you attached.
In ImpactCamera.cs and TouchGestures.cs you'll find some TODOs around workarounds for this problem. Flip the commenting on the code involved and try adding either component to a GO.
Comments (11)
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
- SIGSEGV error when adding EditorApplication.delayCall callback declared in complex generic type and exiting Unity in `Performanc
- Resize cursor does not appear while approaching window edge from inside the player window when using Input System as the Input Handler
- IMGUI Debugger Instructions are flickering when the Inspected View is set to Scene and mouse cursor is moved over the Scene View
- [Windows] “GUI Window tried to begin rendering while something else had not finished rendering!…” Error is thrown after opening “Insert a template into current VFX Asset” window
- No InvalidOperationException error thrown when Active Input Handling is set to "Input System package" and "OnMouseDown()" is triggered
Demigiant
Feb 02, 2014 19:49
This issue is not resolved at all: can be easily reproduced with Unity 4.3.3