Before updating to Windows 10 you may need to return your Pro license. More information here

AOT Runtime Problem: Variable of type IMyInterface changes type to String(impossible..??)


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?

more ▼

asked Apr 19, 2012 at 03:00 PM

avatar image

0 6 4 4

(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments



asked: Apr 19, 2012 at 03:00 PM

Seen: 879 times

Last Updated: Apr 19, 2012 at 03:00 PM