Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

WebGL BuildOptions?

Discussion in 'Unity 5 Pre-order Beta' started by made-on-jupiter, Feb 11, 2015.

  1. made-on-jupiter

    made-on-jupiter

    Joined:
    May 19, 2013
    Posts:
    25
    Hi,

    we've been using a (C#) script to build our webplayer builds. We switch between development and production builds that way. We want to do the same for WebGL, but seem to be missing a few BuildOptions for that. Is there any way to set the following WebGL build options in C#?:

    • Emscripten Optimization Level
    • “Enable Exceptions” in WebGL Player Settings (not seeing anything here)
     
  2. made-on-jupiter

    made-on-jupiter

    Joined:
    May 19, 2013
    Posts:
    25
    Looks like EditorUserBuildSettings.webGLOptimizationLevel was just introduced in one of the 5.0 release candidates.

    AFAIK, still no control WebGL exception reporting level, or WebGL memory.