Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2018.4.0f1
2018.4.4f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
Issue ID
1173736
Regression
No
MenuCommand.context is Null if MenuItem path ends with "..."
To reproduce:
1. Download attached "MenuCommandContext.zip" project and open in Unity
2. Open "SampleScene" scene
3. Right-click any GameObject in the Hierarchy
4. Press "Custom Command"
5. Notice that in Console it logs the passed MenuCommand.context object
6. Right-click any GameObject in the Hierarchy
7. Press "Custom Command..."
Expected result: In Console, it logs the passed MenuCommand.context object
Actual result: In Console, it logs Null instead of the GameObject
Notes:
- This issue reproduces on both Windows and macOS
Reproduced on Unity 2017.4.0f1, 2017.4.31f1, 2018.3.14f1, 2018.4.5f1, 2019.1.13f1, 2019.2.0f1 and 2019.3.0a11
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
- Crash when attempting to create a custom FMOD DSP unit
- [Linux] Floating windows do not keep their size after restarting the Editor
- .framework plugin is mistakenly treated as a directory when building for Universal Windows Platform
Add comment