Big bug to get component from Needle scene

I don’t see errors in my script :confused: it was running before that I run unity

by user 224464722878005248

No I mean dropping it here so I can take a look

LoadModelsFromNode.cs

by user 224464722878005248

I see that my locals variables which are not typed could not be resolved

Is it the problem ?

by user 224464722878005248

Only this one is a problem, seems the type is missing in the typescript file?

public void waitingForPromises([] @promesses){}

if you don’t need it to be public you can just write private in front of the method in TypeScript and it won’t even show up in Unity

It’s only a List of Promises

by user 224464722878005248

Would you mind sharing the TS file as well? Looks like a TypeScript-to-C#-compiler issue on our end; if it can’t be resolved it should just not emit the method instead of emitting a broken one. cc @marcel :cactus:

I can but it’s not very clean :sob:

by user 224464722878005248

I’ll send it

by user 224464722878005248

do you know what is Burst ?

by user 224464722878005248

by user 224464722878005248

LoadModelsFromNode.ts

by user 224464722878005248

It’s Unity’s Burst package. After you have added private here you should be able to just restart Unity to hopefully bring things back to normal
image.png

Oh YES

by user 224464722878005248

Heu

by user 224464722878005248

An error solved but I got strange things

by user 224464722878005248

by user 224464722878005248

Ok restart you said

by user 224464722878005248