Issue while building experience from Unity

Hi all! I’m currently working on a project using the Needle Unity Package. I built a sample for testing earlier this summer and my demo worked fine (built with gzip compression and deployed with “http-server -g”). Lately i updated the Needle Package and updated some content in my demo. Now, when i test the experience from Unity, everything works correctly, but when i build and start the local server i have some graphic issues and the experience crashes. I will share some screenshot of the visual issues and the errors i get in the console (in the attachments you can see the view i get in build and the one i see from unity). The main problem is that when i load a prefab, i get a “Render loop error” and the experience get stuck with half the asset loaded. You can see the error i get in the attachments.

Thanks in advance for the help !
For any images, errors or code snippets needed, ask, and i’ll share it the best way i can!

PS: Now i also lost mouse interactions for some reason, if can get an error about that i’m going to share it.



Original Post on Discord

by user 191193824372981760

Hi do you get the same error in a local server? Because it’s very hard to understand the error if we’re dealing with minimized and bundled code

Hi! So, if i start the local server from unity, i can’t interact with the UI, in the landing page i get the warnings you see in the first attachment.

by user 191193824372981760

when i load a prefab, the browser lags a bit but the level gets loaded. I get these warning:


by user 191193824372981760

the only error i get is this:

by user 191193824372981760

i also noticed that while the UI is not responsive, other clickable element in the demo are

by user 191193824372981760

Which version of Needle Engine are you using? If you’re using 3.26.0 preview then you want to update to 3.26.1 because this one had a bug where UI interaction wasnt working anymore. It’s fixed in 3.26.1

Yes, i’m using the preview version. I’m going to update it and check if the interaction problem is solved!

by user 191193824372981760

btw thanks a lot for the help!

by user 191193824372981760

Yey interactions are back! Now i can show you the weirdest bug i’ve dealt with lately… The two screencaps are from the local version and from the “deployed” version (with http-server). In the first, you can see the brick wall and lamps correctly, in the second one, the wall uses an other image present in the project as normal map ( the image itself is not a normal map…) and the lamps on the wall are green … i think that’s an issue with reflections, but im still trying to uderstand this issue


by user 191193824372981760

in the console i get some warnings and two errors (but the errors are relative to my code so i can easily solve it)

by user 191193824372981760

Can you send a bugreport with this scene?

here on discord or from the webpage?

by user 191193824372981760

btw i also get the render loop error caused by this

by user 191193824372981760

In Unity using Needle Engine/Report a bug

:+1:

by user 191193824372981760

ok, the bug report sould have been uploaded (if unity didn’t lie)

by user 191193824372981760

i have the zipped bugreport if needed

by user 191193824372981760

hi @marwie1 :cactus:, is there a way to check progress on the bug report? After the upload made from unity i didn’t get any kind of feedback or url to check in the issue was getting checked.

by user 191193824372981760

Hi sorry for the lack of feedback - we received it