Migrate Babylon Project from 4.0 to 5.0

hi there,

I have a old project which is built on Babylon 4.0 unity toolkit, I would like to migrate it to the 5.0 unity toolkit. I tried to do so but getting a lot of error’s, after fixing the error’s I was able to build it but it is throwing error like

babylon.manager.js:5 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'InputComponent')
    at n.InstantiateClass (babylon.manager.js:5:9305)
    at babylon.manager.js:6:29634
    at Array.forEach (<anonymous>)
    at n.DoProcessPendingScripts (babylon.manager.js:6:29512)
    at n.postProcessSceneComponents (babylon.manager.js:6:25317)
    at n.PostParseSceneComponents (babylon.manager.js:5:3575)
    at e.startParsing (babylon.manager.js:7:11660)
    at e.onComplete (babylon.manager.js:7:8881)
    at r.callback (babylon.manager.js:7:7671)
    at e.notifyObservers (babylon.min.js:16:38475)

and is stuck on Parsing scene content.

Thank you

Pinging @MackeyK24 the unity toolkit expert.

4.0 is not compatible with 5.0

I would suggest creating a new 5.0 project and bring over your art assets… NO SCRIPTS

And re-create your project using the newer 5.0 Scene Manager extension and GLTF 2.0 file format

Okay will do that, Thank you