Page 1 of 1

Support for Generic Classes

Posted: Thu May 17, 2018 3:44 pm
by Joel
Status

Requested

Complexity

8/10

Description

Currently to store generic classes, you need to make a wrapper class of a concrete type which does not use generics.

This feature request is to support generic classes without a wrapper.

Note that supporting generic classes can sometimes cause difficult-to-debug IL2CPP stripping errors due to the types being indeterminate at build time, and would decrease performance (as there would be more reliance on reflection, in addition to extra marshalling costs). The impact of this would need to be factored.