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
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
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