Could not find an object with ID on Shard0



  • Now I faced this error several times, which blocks the shard entirely, until I'm forcing a global reset, by a code reupload.

    [04:06:06][shard0]Error: Could not find an object with ID 5b0b629a2aa9c0594a06f5f6
        at data (:39222:19)
        at Object.get [as energy] (eval at exports.defineGameObjectProperties (:1007:9), :6:64)
        at Object.exports.defineGameObjectProperties.obj.toJSON (:1026:29)
        at JSON.stringify ()
        at global._init.global._start (:29419:45)
        at ()
        at runWithTimeout (/opt/engine/dist/core/runtime/make.js:170:58)
        at Promise (/opt/engine/dist/core/runtime/make.js:32:9)
        at runWithTimeout (/opt/engine/dist/core/runtime/make.js:30:12)
        at runUser (/opt/engine/dist/core/runtime/make.js:170:27)
    
    [04:19:33][shard0]Error: Could not find an object with ID 5b0b5d58ad301448fa099c30
        at data (:39222:19)
        at Object.get [as energy] (eval at exports.defineGameObjectProperties (:1007:9), :6:64)
        at Object.exports.defineGameObjectProperties.obj.toJSON (:1026:29)
        at JSON.stringify ()
        at global._init.global._start (:29419:45)
        at ()
        at runWithTimeout (/opt/engine/dist/core/runtime/make.js:170:58)
        at Promise (/opt/engine/dist/core/runtime/make.js:32:9)
        at runWithTimeout (/opt/engine/dist/core/runtime/make.js:30:12)
        at runUser (/opt/engine/dist/core/runtime/make.js:170:27)
    

  • Dev Team

    This is usually caused by usage of undocumented features in your script. Does it work with an empty main() loop? If yes, you might want to debug it step by step starting from there.