Using :
- Unity 2022.3.15f1 LTS
- Needle Engine 3.29.0
- Node js 16.5.1
Hi everyone, hoping you’re doing well. I’m testing some features in a specific version of Needle. The problem is that, when I hit on Play the project deploys but a lot of objects in the scene are lost in the browser’s window, among them for example, some 3D models. In the VITE console the next error is showed :
X [ERROR] Could not read from file: D:..\node_modules\three\examples\jsm\objects\GroundedSkybox.js
node_modules/@needle-tools/engine/lib/engine-components/GroundProjection.js:7:51:
7 │ import { GroundedSkybox as GroundProjection } from 'three/examples/jsm/objects/GroundedSkybox.js';
[vite] error while updating dependencies:
Error: Build failed with 1 error:
node_modules/@needle-tools/engine/lib/engine-components/GroundProjection.js:7:51: ERROR: Could not read from file: D:\...\node_modules\three\examples\jsm\objects\GroundedSkybox.js
at failureErrorWithLog (D:\...\node_modules\esbuild\lib\main.js:1636:15)
at D:\...\node_modules\esbuild\lib\main.js:1048:25
at D:\...\node_modules\esbuild\lib\main.js:1512:9
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
And also the next error :
X [ERROR] Could not read from file: D:\...\node_modules\three\examples\jsm\objects\GroundedSkybox.js
node_modules/@needle-tools/engine/lib/engine/engine_three_utils.js:3:31:
3 │ import { GroundedSkybox } from "three/examples/jsm/objects/GroundedSkybox.js";
[vite] error while updating dependencies:
Error: Build failed with 1 error:
node_modules/@needle-tools/engine/lib/engine/engine_three_utils.js:3:31: ERROR: Could not read from file: D:\...\node_modules\three\examples\jsm\objects\GroundedSkybox.js
at failureErrorWithLog (D:\...\node_modules\esbuild\lib\main.js:1636:15)
at D:\...\node_modules\esbuild\lib\main.js:1048:25
at D:\...\node_modules\esbuild\lib\main.js:1512:9
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
For testing reasons , it would be desirable to use the same Needle Engine version (3.29).
What have I tried ?
- I’ve updated the node version, I’ve used node 20.16.0 and 10.9.0 the same errors have been thrown.
- I’ve re-install all the project and made a Clean Install and the same errors have been thrown.
- The Needle Console messages in the Unity editor just plot that the project has been installed and the local server is launched.
Has anyone figured out how to solve this?