Fonts Are not showing in build

Could you try updating to the latest node 20 LTS version? You’re currently on Node 20.9 according to the logs. After updating to Node 20.18 or higher please delete the npm cache directory again and then try again (Fonts Are not showing in build - #8 by marcel)

I just wanted to let you know that I’m trying to improve how the Unity plugin handles this error with npm cache. It should be available in the next alpha release for you to try.

Could you try updating to the latest alpha release if it fixes the issue for you?

Hello, did you try updating to the latest version?

@marcel sorry for late reply but i try updating to latest version of needle but still facing the same problem

Hi, ok thats unexpected, could you upload another bugreport that we can look into please? Thank you

Ok i’ll upload the bug report

@marcel i’ve uploaded the bug report can you please check that and let me know

Hello,

you’re still using 3.51.2 - please update to Needle Engine alpha (version 4.x) as mentioned before. The issue should be fixed there.

To update to the alpha in Unity open Window/Package Manager and find the Needle Engine package. Make sure you have Preview packages enabled in the Unity settings if you don’t see the alpha version in the list.

Alternatively if updating is not an option try deleting the npx cache directory manually. Here are some docs where NPM has the cache folders: folders | npm Docs (note that the issue is caused by the npx cache! Not the npm cache)

Here is the directory on your machine: C:\Users\User\AppData\Local\npm-cache\_npx

@marcel thanks alot this have solved the issue. I tried updating the needle version but it did not work i think i have not deleted the npx cache. Anyway again thanks alot for your help.

Hi, good to hear. What exactly did not work when updating? It’s most likely also related to the bugged npx cache.

@marcel After Updating needle the fonts were still not showing in browser. But this time i’ve also force clear cache of npm through administrator cmd which i have not done last time

This topic was automatically closed 13 days after the last reply. New replies are no longer allowed.