Sunday, June 19, 2022
HomeGame DevelopmentLacking Class or Script Error - Cocos Creator

Lacking Class or Script Error – Cocos Creator


Hi there,

I’m utilizing 3.4.2
After utilizing Creator for someday it offers randomly error like script lacking occasion although it’s there in asset folder.
Might i do know what could possibly be the problem?
Even after many restart this error doesnot go, i have to create new venture with outdated property after which solely it really works.

Regards,
Smit


It’s because the script’s meta file has modified and the scene file can not discover the script.

The script mounted on the canvas node within the Login scene is lacking.

@Koei then what ought to i do in that state of affairs?
Additionally i believe if generally there may be some error in script then additionally that is taking place.
Not one thing that reveals pink error in VSCode however Creator may need some drawback.
Additionally due to some concern in single script file, it reveals all script as lacking in entire venture.
Creator 3.4.2

Yow will discover the uuid in query on vscode,like this:

Copy the brand new uuid and substitute the outdated one:

This subject was robotically closed 24 hours after the final reply. New replies are now not allowed.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments