-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
injection to webXR apps built by various game engines #3
Comments
I have a patch for Wonderland coming out soon. Still need to look into Needle Tools |
ok. thanks. |
I've just released version 1.0.1 on NPM, which you can find here: iwer package. This update addresses the issue affecting both Wonderland and Needle Tools. The root of the problem was in how I managed the updateRenderState method. Originally, I set up a pending render state to be applied on the next device frame. However, I overlooked the scenario where updateRenderState could be invoked multiple times before the next frame, causing only the last state to be recorded and previous updates to be lost. Since updateRenderState allows for partial updates, this oversight led to the loss of crucial information. To resolve this, I implemented a fix in commit d45bd66 that compounds any pending updates whenever updateRenderState is called and a pending state already exists. This solution has resolved the integration issues with both Wonderland and Needle Tools. |
@cyberfoxmeow that is strange, any chance you can provide a test link for me to try and repro this on my side? |
sure. The Needle I am using is a Unity plugin . I just use the scene template, and add one cube. The build web src is: dist.zip . According to Needle policy, it only supports HTTPS.
I have commented out IWER injection in For your reference, the whole Unity project file is: https://drive.google.com/file/d/1dnpYj3GmFWoFp9j4hhxtfj_rHjYDufwn/view?usp=sharing |
Injection to some webXR apps has failed maybe because there is existing webXR runtime attached to the build.
The webXR apps I failed to inject are built by Needle Engine with Unity and Wonderland .
Is there any solution for injection to the apps built by these two engines?
Thanks.
The text was updated successfully, but these errors were encountered: