Parse Error: invalid index 'CONTROLLER_BUTTON' in constant expression
Closed this issue · 0 comments
NeoSpark314 commented
@Wavesonics reported this issue.
The change to var instead of enum for remapping controller buttons broke the use of button names/assignments in the editor
The error is for example
res://OQ_Toolkit/OQ_ARVRController/scripts/Feature_AreaObjectGrab.gd:21 - Parse Error: invalid index 'CONTROLLER_BUTTON' in constant expression
modules/gdscript/gdscript.cpp:599 - Method failed. Returning: ERR_PARSE_ERROR