You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When VR is exited by clicking the little cross on the corner and when it is entered again by clicking "Enter VR" (without page refreshing), setup() and preload() do not run. Only draw() loop runs on subsequent VR sessions.
This is happening because p5 global object is being made only once. Exiting out of VR session does not remove p5 global instance.
Also, VR continues from where it left off when re entered. This is because the global variables are not reset on the next VR session.
The text was updated successfully, but these errors were encountered:
When VR is exited by clicking the little cross on the corner and when it is entered again by clicking "Enter VR" (without page refreshing),
setup()
andpreload()
do not run. Onlydraw()
loop runs on subsequent VR sessions.This is happening because p5 global object is being made only once. Exiting out of VR session does not remove p5 global instance.
Also, VR continues from where it left off when re entered. This is because the global variables are not reset on the next VR session.
The text was updated successfully, but these errors were encountered: