- Home /
Question by
Anchpop · Jun 30, 2016 at 04:50 PM ·
builddebuggingportingwindows store
Issues with porting to Windows Store and 'IConvertable'
I'm trying to port this asset to the Windows store and I'm encountering a very odd error.
I have an error that only happens when trying to build for the Windows Store. Actually, I get three of the same error, on different lines.
public class StateMachine<T> : IStateMachine where T : struct, IConvertible, IComparable
public StateMachine<T> Initialize<T>(MonoBehaviour component) where T : struct, IConvertible, IComparable
public StateMachine<T> Initialize<T>(MonoBehaviour component, T startState) where T : struct, IConvertible, IComparable
The error message is:
The type or namespace 'IConvertable' could not be found (are you missing an assembly or directive reference?)
The error only happens when building for Windows Store. I can build for Windows Standalone and play in the editor just fine. I'm using Unity 64 bit, 5.3.5f1. Any help would be much appreciated. Thanks!
Comment