Hi, guys,
I want create a AR Map. So I create a project with AR(8the wall) and Leaflet.js. But when I add leaflet.css to document’s head,the AR script has error.
Does anyone know how to solve it?
my project is https://playcanvas.com/editor/scene/1277245
------------error info-------------
XR threw an exception
[playcanvas.dbg.js?version=1.49.4:73711]: Cannot read property 'app' of undefined
TypeError: Cannot read property 'app' of undefined
at scriptType.initScriptType (https://launch.playcanvas.com/editor/scene/js/engine/playcanvas.dbg.js?version=1.49.4:73711:20)
at new scriptType (https://launch.playcanvas.com/editor/scene/js/engine/playcanvas.dbg.js?version=1.49.4:73810:40)
at A.exports (xrweb.js:42:173645)
at xrweb.js:42:141028
at Object.run (xrweb.js:42:141288)
at Object.run (xrweb.js:25:342721)
at I (xrweb.js:42:281958)
at Object.runXr (xrweb.js:42:282313)
at Object.onxrloaded (https://launch.playcanvas.com/api/assets/files/scripts/XRController.js?id=60900306&branchId=cde1aec6-d7be-4171-9f1f-cc31d56f3c65:21:20)
at Object.P [as showLoading] (https://cdn.8thwall.com/web/xrextras/xrextras.js:1:62493)
TypeError: Cannot read property 'app' of undefined
at scriptType.initScriptType (https://launch.playcanvas.com/editor/scene/js/engine/playcanvas.dbg.js?version=1.49.4:73711:20)
at new scriptType (https://launch.playcanvas.com/editor/scene/js/engine/playcanvas.dbg.js?version=1.49.4:73810:40)
at A.exports (xrweb.js:42:173645)
at xrweb.js:42:141028
at Object.run (xrweb.js:42:141288)
at Object.run (xrweb.js:25:342721)
at I (xrweb.js:42:281958)
at Object.runXr (xrweb.js:42:282313)
at Object.onxrloaded (https://launch.playcanvas.com/api/assets/files/scripts/XRController.js?id=60900306&branchId=cde1aec6-d7be-4171-9f1f-cc31d56f3c65:21:20)
at Object.P [as showLoading] (https://cdn.8thwall.com/web/xrextras/xrextras.js:1:62493)