Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
1
Found in
5.5.0b5
Issue ID
837614
Regression
No
Object can't be cast as implemented interface
Steps to reproduce:
1. Open attached project "837614repro.zip"
2. Open scene "test"
3. Run it and look at console
4. Notice line "abstractedStack is IItemStack<IStackableItem>: False". This means that abstrackStack can't be cast as IItemStack<IStackableItem>.
Problem is that abstrackStack holds object of MockItemStack<MockStackableItem> which implements IItemStack<IStackableItem> interface so cast as ItemStack should be available.
Reproduced with: 5.3.6p6, 5.4.1p4, 5.5.0b6
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment