- Home /
Assembly::GetReferencedAssemblies() gives Unsupported internal call during runtime for iOS when using IL2CPP
Hi,
I have just tried to build my game for iOS after switching to IL2CPP as the scripting backend and discovered the following error preventing my game from functioning:
NotSupportedException: /Users/builduser/buildslave/unity/build/Tools/il2cpp/il2cpp/libil2cpp/icalls/mscorlib/System.Reflection/Assembly.cpp(351) : Unsupported internal call for IL2CPP:Assembly::GetReferencedAssemblies - "This icall is not supported by il2cpp."
It seems to come from my Assembly.GetReferencedAssemblies call. Is there a way around this?
I am using Unity 5.2.1 f1 if that helps.
Thanks!
Answer by JoshPeterson · Jul 06, 2016 at 11:57 AM
Please try the latest version of Unity. This function is implemented now, although I can't say exactly which version it is implemented in.
Your answer
![](https://koobas.hobune.stream/wayback/20220612084110im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
IL2CPP: PROPERTYINFO.SETVALUE SETS A RANDOM NUMBER TO A NULLABLE VALUE TYPE WHEN NULL IS EXPECTED. 0 Answers
Error building Player: UnusedBytecodeStripper2.exe did not run properly! 1 Answer
Render to Texture Lagging by One Frame on iOS 1 Answer
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
[il2cpp] Crash after login game center in sand box build!! 1 Answer