Search Issue Tracker
Fixed
Votes
3
Found in
4.6.4p3
Issue ID
691309
Regression
No
IL2CPP: Using interfaced struct in generic class causes problem
IL2CPP fails to handle data in a struct when the following conditions are met:
- This struct implements an interface.
- This struct is given to a generic class as a type parameter.
- This type parameter is constrained with the interface.
See the following pseudocode. In this case, Handler<Data> causes a problem.
interface IData { .. }
struct Data : IData { .. }
class Handler<T> where T : struct, IData { .. }
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][IL2CPP][ARMv7] Struct field value corrupts when invoking a generic delegate with a large struct by value
- Highlights persist throughout Options Panels in the Rendering Debugger Window
- Typing numbers in Matrix node’s numeric fields stretches Node
- Streaming is misspelled as "Steaming" in "Enable GPU Streaming" and "Enable Disk Streaming" tooltpis
- "IndexOutOfRangeException" thrown when moving caret left at start of TMP Input Field with rich text
Add comment