- Home /
change Scripting Backend from default to IL2CPP
Hello guys I need a support.. I'm trying to build a project in Webgl.. For which I need the Scripting Backend to be set to IL2CPP.. But when trying to change, I find the Scripting Backend set to "default" and disabled.. can anyone let know how to change from "default" to "IL2CPP"??
Hi, it's grayed out as default. see unity doc link text
if you switch platform you can see checkbox is marked.it obvious it doesn't support webGL.and if you somehow pass grayed out now and use that, it will cause you an error in future I think. i think there is no need for IL2CPP .it's decompile code to C++ .
Answer by Wockinine · Sep 21, 2018 at 06:29 AM
What is the default scripting backend for WEBGL? I'm pretty sure it should be mono but unity may have set the default to IL2CPP for you. Where is it telling you to change the scripting backend? If in doubt try updating the engine as that has fixed many issues for me in the past! Hope you find a solution to your problem!
I'm not sure what is the "default" means in the scripting backend.. I remember seeing it as "$$anonymous$$ono" during the start of the project.. I bought an asset from unitystore to stream mp3 from server in unity.. "Runtime audioclip loader".. which says I need to use the IL2CPP for strea$$anonymous$$g the assets.. this pushes me to ensure I keep the setting as IL2CPP.. now neither the mp3 is getting streamed not am I able to change the setting from "default"..
Answer by JoshPeterson · Sep 24, 2018 at 12:05 PM
The WebGL platform only works with the IL2CPP scripting backend. So the "default" setting in this case is IL2CPP.
Answer by Bhujanga · Oct 25, 2020 at 06:07 PM
I can't change the scripting backend in Unity 2019.4.12f1 as it is disabled and set to Mono. How to go about this? @JoshPeterson @Wockinine
Fixed! Always make sure to stop the Test$$anonymous$$ode before making changes in the player settings!
Your answer
Follow this Question
Related Questions
System.Type.GetType() doesn't work on WEBGL 1 Answer
How to stream .mp3 from computer. 1 Answer
Unity 2017.1.0b7 WebGL Export Crash il2cpp 2 Answers
WebGL + Sqlite3 1 Answer