Search Issue Tracker
Fixed
Fixed in 6000.3.5f1, 6000.4.0b5, 6000.5.0a5
Votes
5
Found in
6000.2.14f1
6000.3.0f1
6000.4.0a5
6000.5.0a2
Issue ID
UUM-128163
Regression
Yes
Unable to override the internal abstract "ContextualMenuManager.CheckIfEventMatches(EventBase)" method when inheriting from the "ContextualMenuManager" class
Reproduction steps:
1. Create a new project
2. Save the attached “test.cs“ C# script in the “Assets” folder of the project (link in the internal comments)
3. Observe the Console after the domain reload finishes
Expected result: No errors appear in the Console
Actual result: CS0115 and CS0534 errors are thrown in the Console
Reproducible with: 6000.2.7f2, 6000.2.14f1, 6000.3.0f1, 6000.4.0a5, 6000.5.0a2
Not reproducible with: 6000.0.63f1, 6000.2.6f2
Reproducible on: Windows 11 Pro (25H2)
Not reproducible on: No other environment tested
Notes:
- This issue makes it impossible to inherit from the “ContextualMenuManager” class, as it requires an implementation of “ContextualMenuManager.CheckIfEventMatches(EventBase)” method, which is internal and cannot be overridden
- When testing pre-FAV versions, the “internal override bool CheckIfEventMatches(EventBase evt)” method will need to be deleted from the script for the script to compile
Full error messages:
- ”Assets\test.cs(16,28): error CS0115: 'test.CheckIfEventMatches(EventBase)': no suitable method found to override”
- “Assets\test.cs(4,14): error CS0534: 'test' does not implement inherited abstract member 'ContextualMenuManager.CheckIfEventMatches(EventBase)'“
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
- Look Dev constantly regenerates the default Volume Profile when set to "None" instead of using the default one
- Look Dev errors are spammed when opening a new HDRP project when Look Dev was added to the layout in the previous project
- URP Scene Templates are not editable when first opened from the New Scene dialog
- Look Dev window flickers when resizing the window after docking it
- UI breaks when Multiplayer Center window section divider is moved too far
Resolution Note (fix version 6000.5.0a5):
Fixed in 6000.5.0a5
Resolution Note (fix version 6000.4.0b5):
Fixed in 6000.4.0b5
Resolution Note (fix version 6000.3.5f1):
Fixed in 6000.3.5f1