UniversalCameraSystem Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'UniversalCameraSystem')

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘UniversalCameraSystem’)
at Function.n.InstantiateClass (babylon.manager.js:5)
at babylon.manager.js:7
at Array.forEach ()
at Function.n.DoProcessPendingScripts (babylon.manager.js:7)
at n.postProcessSceneComponents (babylon.manager.js:7)
at Function.n.PostParseSceneComponents (babylon.manager.js:5)
at e.startParsing (babylon.manager.js:7)
at e.onComplete (babylon.manager.js:7)
at r.callback (babylon.manager.js:7)
at e.notifyObservers (babylon.min.js:16)

Hello and welcome!

Usually this error arises when the variable is undefined.
That is all what is possible to say from the information you provided.
Could you share more info about your problem?

babylon.manager.js is from the unity exporter and I guess we d need @MackeyK24 s help on this one but @Quanhua_Huang you will need to provide us a repro so that @MackeyK24 can test it

Do you have typescript installed and the options enabled on the Script Compilation section of the exporter