Monday, January 13, 2025
spot_img

Cocos Creator 3.8.3 property([RealCurve]) not work – Cocos Creator


@property([RealCurve])
public Curves: RealCurve[] = [];

when add curve within the inspector, the console present the error beneath:
TypeError: Can not learn property ‘map’ of undefined

at course of:scene

at RealCurveDump.decodeByDump (F:soft_installcocos_downloadCreator3.8.3resourcesapp.asarbuiltinscenedistscriptexportdumptypesreal-curve-dump.ccc:1:821)

at RealCurveDump.decode (F:soft_installcocos_downloadCreator3.8.3resourcesapp.asarbuiltinscenedistscriptexportdumptypesreal-curve-dump.ccc:1:250)

at _decodeByType (F:soft_installcocos_downloadCreator3.8.3resourcesapp.asarbuiltinscenedistscriptexportdumpdecode.ccc:1:4617)

at decodePatch (F:soft_installcocos_downloadCreator3.8.3resourcesapp.asarbuiltinscenedistscriptexportdumpdecode.ccc:1:5975)

at decodePatch (F:soft_installcocos_downloadCreator3.8.3resourcesapp.asarbuiltinscenedistscriptexportdumpdecode.ccc:1:5881)

at DumpUtil.restoreProperty (F:soft_installcocos_downloadCreator3.8.3resourcesapp.asarbuiltinscenedistscriptexportdumpindex.ccc:1:847)

at NodeManager.setProperty (F:soft_installcocos_downloadCreator3.8.3resourcesapp.asarbuiltinscenedistscript3dmanagernodeindex.ccc:1:7996)

at PrefabSceneFacade.setNodeProperty (F:soft_installcocos_downloadCreator3.8.3resourcesapp.asarbuiltinscenedistscript3dfacadeprefab-scene-facade.ccc:1:1713)

at SceneFacadeManager.setNodeProperty (F:soft_installcocos_downloadCreator3.8.3resourcesapp.asarbuiltinscenedistscript3dfacadescene-facade-manager.ccc:1:10573)

at step (F:soft_installcocos_downloadCreator3.8.3resourcesapp.asarbuiltinscenedistscript3dmanageripcwebipc.ccc:1:732)

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisement -spot_img

Latest Articles