if you edit the ts file and Unity tried to re-generate it - does it work? Or not?
E.g. add a new field or remove it
or rename the class
Yes that works
by user 285903863339548673
I’ve also tried adding a new script but it doesn’t generate
by user 285903863339548673
ok that’s strange. did you also try with the npmdef?
i.e. TestScript.ts doesn’t generate
by user 285903863339548673
I’ll try that, just reading the reference for that to get my head around
by user 285903863339548673
It also contains a class (e.g. export class MyClass extends Behaviour
? )
Yeah exact same contents as the original Rotate.ts
by user 285903863339548673
Ok - of course the classname shouldnt be the same
of course :TrippyBlob:
by user 285903863339548673
No luck with using npmdef :I
by user 285903863339548673
Ok good
I mean then its at least consistent
Oh ok - fair enough
by user 285903863339548673
also have this issue on Windows and Mac, what can i do?
by user 353918275215818754
@Marcel_Wiessler1 i tried your command and after this c# script generated
but new scripts dont generate
by user 353918275215818754
What is the path of your project? Can you share the compiler log file too? You can also use Help/Needle Engine/Collect logs and PM me the zip
Which node version are you using?