Introduction to the Preview Process And Common Error Handling
Common Error Handling
Ensure that all error are solved before previewing.
Under normal circumstances, if generating settings.js
fails, there will be error messages in console. Most common is a script error, because when generating settings.js
, all scripts in the project are loaded in the build process. If any script contains illegal writing, an unexpected error will be thrown during the loading process and will fail to be generated. For specific error message information, you can refer to the hint in the error message. Usually the error content here is the uuid of the asset. The corresponding uuid
can be copied to the Assets panel to search and locate the script.
Assets Loading with a 404
Usually, this is caused by asset loss or import failure. Please use the missing asset uuid to search in the editor’s assets panel. If no assets are found, usually the asset is lost. You need to modify the scene or asset using the assets. If assets are found, you can try to re-import.