Giter Site home page Giter Site logo

Won't work in Unity WebGL about ai HOT 3 CLOSED

polarith avatar polarith commented on June 12, 2024
Won't work in Unity WebGL

from ai.

Comments (3)

mzettwitz avatar mzettwitz commented on June 12, 2024

Hi there,
We use the IL2CPP backend for WebGL Support. This is a requirement for Unity to run on WebGL, as you can read here. You need to check it during the Unity installation or install it afterwards if you use the Unity Hub.
If you are using the Pro version, note, that WebGL does NOT support threading, as you can read in a Unity statement and the IL2CPP restrictions. So the boids scene in the pro version won't run on WebGL, even if you've installed IL2CPP, unless you disable threading in AIMContext.

from ai.

TestTubeGames avatar TestTubeGames commented on June 12, 2024

I do have the il2cpp backend -- and I'm able to run webgl projects. Just not ones that have your plugin installed. I'm curious - are you able to run a vanilla build of boids in webgl?

The threading note, while good to know, didn't affect this bug.

from ai.

mzettwitz avatar mzettwitz commented on June 12, 2024

I've tested both the free and pro version. The free version runs fine out of the box while I had to adjust the threading in AIMContext and disabled AIMPerformance in the pro version. Additonally I've been testing the AssetStore version against our source code version. Both run fine with default build and player settings in different browsers.

from ai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.