Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by jkrzemie

I need to use Ejecta + Three.js on iOS. Using latest versions of both - all works well.
I also need the ability to remove the existing EJJavaScriptView and create a new one (basically replace the view).
For testing purposes I am using the Ejecta demo example, I only added a super-simple Three.js view (a cube). It works until I try to dealloc it - EJJavaScriptView on dealloc always crashes on JSGlobalContextRelease(ctxref);

I really need to get this working - any ideas?
Any help greatly appreciated!

1 decade ago by Joncom

Got an error message you can share?

1 decade ago by jkrzemie

Yes.
It always crashes on:
-[__NSCFString pointerValue]: unrecognized selector sent to instance ...

1 decade ago by leoy

Is the issue solved yet?

When I tried to remove the view, I experienced exactly the same issue that crashes on JSGlobalContextRelease(ctxref);
The error message is the same: [__NSCFString pointerValue]: unrecognized selector sent to instance ...

I am also using the latest JavaScriptCore.framework.

Anyone got ideas about it?

1 decade ago by Joncom

@leoy: You using "Three" as well?

1 decade ago by leoy

@Joncom:
I think I may some functions from "Three.js".
You mean it is the problem of "Three.js"?
Page 1 of 1
« first « previous next › last »