1 / 12

WebGL & il2cpp

WebGL & il2cpp. Christopher Pope @CreativeChris1. WebGL. Using the new il2cpp compiler to cross compile into C++ Cross compiling Unity source code into Javascript using the amscript compiler WebGL is currently a preview version (try it!). WebGL – Preview Status.

carballo
Download Presentation

WebGL & il2cpp

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. WebGL & il2cpp Christopher Pope @CreativeChris1

  2. WebGL Using the new il2cpp compiler to cross compile into C++ Cross compiling Unity source code into Javascript using the amscript compiler WebGL is currently a preview version (try it!)

  3. WebGL – Preview Status Some functionality we don’t support on our side WebGL ecosystem still being in an early state Need some development from the browsers for us to support everything we want to do WebGL is not a replacement for WebPlayer ;)

  4. WebGL – Limitations Features not yet supported: Substance, Realtime GI, MovieTextures, WebCam, Microphone Not yet supported by the platform: Threads, Advanced Audio, Debugging Functionality not mapping to the platform: Sockets, JIT Features Memory constraints: Unity heap – array of bytes in JS

  5. WebGL – Tips’n’tricks Crunched Texture Compression Added in 5.1 AssetBundles Reducing memory & build size Use Unity Profiler It works!

  6. WebGL – Future Memory WebAssembly, Data compression, Code size reductions Performance Shared array buffers Graphics WebGL 2.0 – try it!

  7. WebGL – Resources Movie / Video in WebGL: https://www.assetstore.unity3d.com/en/#!/content/38369 Unity Benchmarks: http://beta.unity3d.com/jonas/WebGLBenchmark/ Jonas Echterhoff Unite Europe 2015 talk: https://www.youtube.com/watch?v=RufJDxm6Lq8

  8. il2cpp Intermediate Language to C Plus Plus Cross compiler from Microsoft Intermediate language to C++

  9. Il2cpp + Platforms iOS: 4.6+ WebGL: 5.0+ Android: 5.2+ - added as experimental PS4 & Xbox 1 5.2.0p1+

  10. Il2cpp + Future Optimisations: Distribution size, Build time, Memory usage Platforms: Windows Store Apps 5.3, Nintendo 3DS (in development), Standalone's in Research phase. Everything else at some point in the future ;) Managed Debugger: We working on something, You can already debug generated C++ code (Blog post) .NET Profile Upgrade: Research phase, longer term A New GC: It’s important! It’s in research phase

  11. il2cpp – Resources Debugging generated C++ code http://blogs.unity3d.com/2015/05/20/il2cpp-internals-debugging-tips-for-generated-code/ Roadmap: http://unity3d.com/unity/roadmap Joshua Peterson il2cpp blog series: http://blogs.unity3d.com/2015/05/06/an-introduction-to-ilcpp-internals/

  12. Thank you! Questions? • Christopher Pope • @CreativeChris1

More Related