snozbot / fungus

An easy to use Unity 3D library for creating illustrated Interactive Fiction games and more.
MIT License
1.66k stars 293 forks source link

Fungus Lua not working in Web GL (Unity 5.4) #525

Closed chrisgregan closed 8 years ago

chrisgregan commented 8 years ago

Reported on the forum

chrisgregan commented 8 years ago

WebGL support seems to be broken in MoonSharp currently. I've posted a question on the MoonSharp forum to see if a fix is coming.

StefanoCecere commented 8 years ago

so, today, we can't release Fungus 3.0 adventures on the web/webgl, right? or if we don't use any LUA they would work?

chrisgregan commented 8 years ago

Fungus works fine on WebGL if you don't use any Lua. It's just when you go to execute a Lua Script that WebGL breaks. The author of MoonSharp said he'll look at the issue again but no update yet.

StefanoCecere commented 8 years ago

no news with MoonSharp 1.8, right?

kreys commented 8 years ago

On MoonSharp forum the linked thread is marked as closed now:

"Xanathar on 14 Oct says: Closing this thread : MoonSharp 2.0 works on webgl with no apparent issues."

So probably updating to MoonSharp 2.0 should resolve the issue.

chrisgregan commented 8 years ago

I'm trying out MoonSharp 2.0 now, so far so good. I've to do a bit of work around the Lua debugger (using VS code) but doesn't look too bad.

chrisgregan commented 8 years ago

Committed the fix for this today (upgraded to MoonSharp 2.0).