I have a repro project for this but I copy/pasted the contents of tsconfig from another current project to an old one and made sure package.json is updated, ran clean install and it runs on local server but on production build I get errors like:
../../Library/PackageCache/com.needle.engine@2.59.2-pre/package~/engine-components/Renderer.ts(479,44): error TS2345: Argument of type 'this' is not assignable to parameter of type 'IRenderer'. Open C:\Unity_Projects\##Projname##\Projects\newProject/../../Library/PackageCache/com.needle.engine@2.59.2-pre/package~/engine-components/Renderer.ts
Is there anything I missed?
Original Post on Discord
by user 103054507105067008
I also ran update Vite Config, the production build does succeed but the errors are ominous, I can privately send the project
by user 103054507105067008
Not entirely clear what you mean here / what you think the issue is.
Can you generate a fresh project and check if everything is working there? If yes, thereβs probably some cache that needs to be cleared / clean installed in your version of the files.
Was just checking if I missed anything, will try deleting Library and reopening
by user 103054507105067008
I mean: selecting ExportInfo and changing the project name and generating again (to have a fresh clean project from the latest template)