editor icon indicating copy to clipboard operation
editor copied to clipboard

Allow Editor to use non-preloaded scripts

Open LeXXik opened this issue 1 year ago • 2 comments

Often it is beneficial not to preload all assets in the beginning, including the scripts. However, if the script is set to not preload in Editor, it cannot be used (i.e. cannot change script attributes). This is a feature request to allow Editor to use scripts that have their preload checkbox disabled:

image

LeXXik avatar May 13 '24 15:05 LeXXik

Could you provide a repro? You should be able to set a script not to preload and see the attributes parsed in the inspector

marklundin avatar May 13 '24 15:05 marklundin

Repro: https://playcanvas.com/project/1216355/overview/attribute-issue

LeXXik avatar May 13 '24 16:05 LeXXik