This one doesn’t seem to be in the FAQ yet.
Completely clean installs of Unity (2021.3.16f1) and Needle (2.56.0) on Windows (10.0.22621) with clean install of node-v16.19.0-x64.
I get the following error: X [ERROR] Could not resolve "./engine/debug/debug_overlay"
for everything coming from the ./engine/
directory.
No errors coming through on the Unity side.
Help!
Original Post on Discord
by user 647258621813456936
marwie1
(marwi)
January 5, 2023, 12:00am
2
Can you check the folder in node_modules/@needle-tools/engine
if it contains those paths? e.g. it should contain an engine-components folder etc
This is what node_modules/@needle-tools/engine
looks like.
by user 647258621813456936
(Also I’ve deleted this folder once already and re-installed the project.)
by user 647258621813456936
marwie1
(marwi)
January 5, 2023, 12:00am
5
Ok its missing the whole runtime - someone reported this recently and I thought it was a Linux issue: Discord
Mmmh can send me the zip using our bug reporter?
Yep.
by user 647258621813456936
marwie1
(marwi)
January 5, 2023, 12:00am
8
mmmh doesnt reproduce out of the box what are your unity and web project paths?
marwie1
(marwi)
January 5, 2023, 12:00am
9
I’m on Node 18 right now tho
C:\Users\nate\Unity\Testing Needle
C:\Users\nate\Unity\Testing Needle\Needle\Demo-Needle
by user 647258621813456936
I’m heading to bed, but can check back tomorrow to help w/debugging.
by user 647258621813456936
marwie1
(marwi)
January 5, 2023, 12:00am
14
Downgrading to node 16 also doesnt repro yet
marwie1
(marwi)
January 5, 2023, 12:00am
15
Recreated your paths here: no repro unfortunately
marwie1
(marwi)
January 5, 2023, 12:00am
16
Do you get these warnings too? I wonder if the encoding is causing problems
Nope. Here’s a split screen of what I’m seeing.
by user 647258621813456936
marwie1
(marwi)
January 6, 2023, 12:00am
18
Can you try doing a clean install (Hold Alt and click install on ExportInfo) and then send a zip with the logs again when its done? (via Help/Needle Engine/zip logs)
by user 647258621813456936
marwie1
(marwi)
January 6, 2023, 12:00am
20
Which npm version are you using?