- Home /
AOT Runtime Problem: Variable of type IMyInterface changes type to String(impossible..??)
Hi,
we have a serious issue with unity IOS.
We have a variable IMyInterface variable;
when we call variable.GetType() it initially tells us "IMyInterface".....
after a while variable.GetType() = "string"....
It is not possible to set the variable to string because this would be a type cast error. --> it has to be an error in the runtime. Our guess is that somehow something overwrites the memory with something wrong.
If we hold a second reference it still tells us "IMyInterface"....
If we execute the same code on Windows,Mac or even the IPhone Simulator.. it works.
I allready talked to a developer of monotouch but they could only tell me that the problem most likely is the AOT Runtime.
The Problem does not happen in a small code sample, and we could not figure out wich part of the system creates the problem. This is not the only strange thing that happens. Additionaly some function calls don't seem to do anything after a while...
Any tips or AOT runtime settings that might help to fix this problem? ANY Ideas?