When I try to build for webgl then run it these errors appear in the console and no visual scripting runs at all, I’ve tried different version engines deleting library, these problems might come from IL2CPP, I need help if anyone knows how to please do.
I have already submitted a bug report :1402528
But after nearly a month still no news.
Just to know, which version of UVS are you using? 1.7.7 seems to have a lot of bugs with IL2CPP / AOT, and reverting back to 1.7.6 doesn’t seem to be a good option either… We need an update ASAP.
Hi, we are aware of some IL2CPP build issues that will be fixed in the next patch version. Do you know if this bug is a regression? Can you reproduce in 1.7.6? Did you try to reproduce with AssetStore version of VisualScripting (Bolt).
Did you experienced more issues with IL2CPP builds in 1.7.7 than in previous versions?
Yes I used version 1.7.7 of UVS the only solution for now was to revert to unity version 2021.1.25f1 which was quite a pain to get working while downgrading. Hope next update will fix these issues once and for all.
So because you reverted Unity back to 2021.1.25f1 does it mean you now use VS 1.6.1? And does it fix your issue without changing anything in your graphs?
More or less, it’s hard to say, I can make some test tonight. I just thought you may have an idea on what’s causing the issue, but if you don’t, I can drop an exhaustive list of test I did, bug I encountered and how to reproduce. It’s just a bit harder to do the same when reporting a bug cuz you need a whole working project.
That’s right I’ve just checked and the project is using version 1.6.1 of VS I didn’t change anything in my graphs just downgraded all the packages then built for webgl as usual and noticed that it just worked.
If you can provide some examples of graphs where nodes can’t be executed in an IL2CPP build that will help us to validate our fixes. Also, if you already submitted a bug, please link it here.
When building in WebGL, are you always building in an empty folder, I got issues when updating unity versions, forcing me to wipe the webgl build folder and rebuilding nodes in my project. I was also forced to remove some generated visualscripting C# files coming from TextMesh Pro API renaming…
I was able to test your project with the next version and all errors will be fixed in your project. The only problem you will still have, is with the BlackScreen that make your project all black when running in Webgl. If you disable it, you will be able to see your project.
Do you mean the recently released 2021.2.18f1 version and the blackscreen’s color is turned transparent after a delay using some nodes to give a fading/loading effect instead of a pop up once it’s loaded, so it shouldn’t be of a problem but thanks a lot for the help I’ll test it as soon as possible with the newest version