EDIT: update to 1.6 fixed this issue!
hi,
when building a game (which runs fine on the iphone - no problems here!) the editor.log prints:
Mono Ahead of Time compiler - compiling assembly /Users/thomas/My New Project/test/Temp/BuildingPlayer/Data/mscorlib.dll
cant resolve internal call to "System.__ComObject::CoCreateInstance(System.Guid,intptr,uint,System.Guid,intptr)" (tested without signature also)
Your mono runtime and class libraries are out of sync.
The out of sync library is: /Users/thomas/My New Project/test/Temp/BuildingPlayer/Data/mscorlib.dll
When you update one from svn you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably related
and you need to fix your mono install first.
So, though the game runs fine, this doesn´t sound perfect.
i also tried with a completely empty testproject - same result…
anyone any idea what to do to prevent this warnings?
greetings, thomas
hi,
anybody?
i also reinstalled unityiphone, same effect.
there´s only one thread in the forums addressing this problem, didnt help…
any comment would be welcomed!
thanks!
thomas
Hi,
it is quite an usual error. Maybe you have installed unity on network file system or something like that? Have you completely erased your previous Unity iPhone installation and restarted your mac before reinstalling it? Another idea : maybe you are building Xcode project inside Assets folder? One more guess - maybe you have set some mono specific environment variables on your machine?
looks like, yes.
i searched the forums intensively, could only find one topic which was not helpfully.
No.
i did not restart before reinstalling - will give that a try now!
Nope.
to be honest - i would not have any idea how to to that…?
how could i find out?
Thanks for your help, i´ll give it one more try and post results here!
greets,
thomas
hmm, so, i completely delete unityIphone (i did not delete unity - but thats not related, is it?)
shutdown, restart, install unityiphone again.
building the project, unfortunately, still there is:
(its a completely empty project, well nearly: just one scene, a camera and a cube)…
EDIT: i also tried to build on my macbook - same results here…
End Load File completely 0.666976
Preload Normal-VertexLit Shader
Preload Normal-Diffuse Shader
Preload Cube Mesh
Preload Default-Diffuse Material
Preload Terrain MonoScript
Preload GUISkin MonoScript
Preload ViewArea MonoScript
Preload BoundingVolumeArea MonoScript
Preload OcclusionVisualizationSettings MonoScript
Textures 0.0 kb 0.0%
Meshes 0.0 kb 0.0%
Animations 0.0 kb 0.0%
Sounds 0.0 kb 0.0%
Shaders 0.0 kb 0.0%
Other Assets 0.1 kb 0.0%
Levels 6.5 kb 0.3%
Scripts 0.0 kb 0.0%
Included DLLs 2.4 mb 99.7%
File headers 1.0 kb 0.0%
Complete size 2.4 mb 100.0%
Used Assets, sorted by uncompressed size:
End Load File completely 0.562012
Mono Ahead of Time compiler - compiling assembly /Users/thomas/My New Project/test2/Temp/BuildingPlayer/Data/mscorlib.dll
cant resolve internal call to "System.__ComObject::CoCreateInstance(System.Guid,intptr,uint,System.Guid,intptr)" (tested without signature also)
Your mono runtime and class libraries are out of sync.
The out of sync library is: /Users/thomas/My New Project/test2/Temp/BuildingPlayer/Data/mscorlib.dll
When you update one from svn you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably related
and you need to fix your mono install first.
Code: 3728008 Info: 134545 Ex Info: 135580 Class Info: 39550 PLT: 3344 GOT Info: 8108 GOT Info Offsets: 8036 GOT: 41100
Output file: '../iPhone-Trampoline/Libraries/mscorlib.dll.s'.
Linking symbol: '_mono_aot_module_mscorlib_info'.
Compiled 16077 out of 16095 methods (99%)
10 methods contain wrapper references (0%)
8 methods have other problems (0%)
Methods without GOT slots: 7525 (46%)
Direct calls: 9551 (49%)
GOT slot distribution:
methodconst: 28
switch: 183
class: 273
image: 1
field: 75
vtable: 677
sflda: 651
ldstr: 3104
ldtoken: 2
type_from_handle: 146
iid: 54
adjusted_iid: 69
rva: 61
delegate_trampoline: 25
icall_addr: 509
jit_icall_addr: 27
interruption_request_flag: 4390
Mono Ahead of Time compiler - compiling assembly /Users/thomas/My New Project/test2/Temp/BuildingPlayer/Data/UnityEngine.dll
Code: 1312260 Info: 38930 Ex Info: 48350 Class Info: 12003 PLT: 1033 GOT Info: 1282 GOT Info Offsets: 1316 GOT: 21248
Output file: '../iPhone-Trampoline/Libraries/UnityEngine.dll.s'.
Linking symbol: '_mono_aot_module_UnityEngine_info'.
Compiled 5534 out of 5534 methods (100%)
Methods without GOT slots: 2066 (37%)
Direct calls: 2118 (53%)
GOT slot distribution:
methodconst: 2
switch: 24
class: 56
image: 1
vtable: 160
sflda: 77
ldstr: 452
type_from_handle: 26
iid: 3
adjusted_iid: 6
delegate_trampoline: 1
icall_addr: 1510
interruption_request_flag: 2994
if my mono-install is broken, how can i fix it?
i never changed anything there (dont even know how to
it says dont file a bug, but…
do you have any other idea?
greets, thomas