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
- [Linux] Screen.SetResolution immediately applies windowed resolution when switching from Fullscreen to Windowed mode
- Lighting window allows non-cube map texture for Environment Reflections, throwing invalid texture type (2D) error
- Console warning “MismatchingRepositoryProjectMessage” when creating a new Unity Version Control workspace
- [Ubuntu] VFX Graph Enum Value menu stretches across screen when entered long Enum Value
- Unclear warning message in Rendering Debugger about the Play mode Debugger Overlay
Add comment