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 you install from the asset library and try to run any example scene you get a "Parser Error: Expected a constant expression." on a line such as:
export(vr.CONTROLLER_BUTTON) var grab_button = vr.CONTROLLER_BUTTON.GRIP_TRIGGER;
I remember from last time it took quite a while to find out you had to add the singleton vr_autoload.gd as vr into the project. This problem was made worse because I was new and didn't know what autoloading was.
Is there a way to either: (1) make sure this startup error is useful in telling you to add this autoloading thing in, (2) put this requirement in bold in the description of the plugin, or (3) programmatically load the singleton at the start of each demo so this is doesn't need to be done?
Also, there's a typo on line 20 of OQ_UI2DLabel.gd.
onready var ui_color_rect : CenterContainer = $Viewport/ColorRect
should be
onready var ui_color_rect : ColorRect = $Viewport/ColorRect
The text was updated successfully, but these errors were encountered:
Thanks for raising this point. You are right that using the toolkit from the asset repository is not as easy as it should be. I like the idea of adding a check in all the demo scenes that will print out a warning when the vr autoload does not exist and also call the initialize to work directly. I think we could also include a link to the wiki here on github (but it might need some more extension).
Regarding the type error: this is fixed on master but the asset has not yet been updated with a newer version of the toolkit.
But it's already documented in the Wiki. So it's mostly an issue about guiding the user of the toolkit with the right error message texts to do the right steps or simply rtfm.
When you install from the asset library and try to run any example scene you get a "Parser Error: Expected a constant expression." on a line such as:
I remember from last time it took quite a while to find out you had to add the singleton
vr_autoload.gd
asvr
into the project. This problem was made worse because I was new and didn't know what autoloading was.Is there a way to either: (1) make sure this startup error is useful in telling you to add this autoloading thing in, (2) put this requirement in bold in the description of the plugin, or (3) programmatically load the singleton at the start of each demo so this is doesn't need to be done?
Also, there's a typo on line 20 of OQ_UI2DLabel.gd.
should be
The text was updated successfully, but these errors were encountered: