TLabAltoh / TLabWebViewVR

Sample Unity project for using TLabWebView in OculusQuest. Includes Meta XR SDK and XR Interaction Toolkit implementation example.
https://tlabgames.gitbook.io/tlabwebview/
MIT License
42 stars 9 forks source link

Utilize JNI AttachCurrentThread for Heavy Operations #24

Closed HafizMSaad closed 6 months ago

HafizMSaad commented 7 months ago

This is a heavy operation and should be infrequent. To optimize, use JNI AttachCurrentThread on calling thread This message is continuously logging in the debugger window, creating an infinite stream of output.

TLabAltoh commented 7 months ago

This problem has been fixed recently, please see here to update the repository and submodule.

TLabAltoh commented 7 months ago

Add the following symbols to Project Settings --> Player --> Other Settings (to be used at build time)

UNITYWEBVIEW_ANDROID_SUPPORT_OCULUS
HafizMSaad commented 7 months ago

Add the following symbols to Project Settings --> Player --> Other Settings (to be used at build time)

UNITYWEBVIEW_ANDROID_SUPPORT_OCULUS

Do you suggest to add UNITYWEBVIEW_ANDROID_SUPPORT_OCULUS under Scripting Define Symbols?

TLabAltoh commented 7 months ago

Yes, please add UNITYWEBVIEW_ANDROID_SUPPORT_OCULUS to Scriptiong Define Symbols.

(Post Script 2024/5/10) Since the last update, this symbol is no longer needed.