[SDK 3.10.2] All URL loading methods error when called.
available in future release
Vowgan
Using UdonGraph and UdonSharp, any attempt to load from a url (String, Image, and Video) fails to run, resulting in an UdonVM error. This issue can be reproduced in any project attempting to load a URL on the 3.10.2 SDK.
The Graph shown in the screenshot never has OnStringLoadSuccess/Error trigger, as the error occurs during the LoadUrl step.
The issue appears to stem from Udon communicating with UniTask. I have provided the resulting error using an UdonGraph here:
-----
[UdonBehaviour] An exception occurred during Udon execution, this UdonBehaviour will be halted.
VRC.Udon.VM.UdonVMException: The VM encountered an error!
Exception Message:
An exception occurred during EXTERN to 'VRCSDK3StringLoadingVRCStringDownloader.__LoadUrl__VRCSDKBaseVRCUrl_VRCUdonCommonInterfacesIUdonEventReceiver__SystemVoid'.
Parameter Addresses: 0x00000000, 0x00000001
Method not found: Cysharp.Threading.Tasks.UniTask Cysharp.Threading.Tasks.UniTask.WaitWhile(System.Func`1<bool>,Cysharp.Threading.Tasks.PlayerLoopTiming,System.Threading.CancellationToken,bool)
Log In
Vesturo
How does that get past internal testing??
This post was marked as
available in future release
Heal Howels
Confirmed changing to SDK 3.10.1 resolved this for me
markerss
w
miner28_3
Sometimes I ask myself if VRChat even bothers with Unit Tests.. This is one of those things that should have been without a doubt caught
miner28_3
And how could this have been shipped is even worse, considering it was apparently a pretty known issue during beta
CompuGeniusCode
miner28_3 Exactly, to both.
This post was marked as
tracked
miaadev
This needs to be fixed!
CompuGeniusCode
In the beta, this only happened in-editor. Does it happen in-game with the full release version?
Olli42
Only in editor. But bad for developing if string and picture downloader are needed
CompuGeniusCode
Olli42 absolutely, I just think the post should be edited to clarify that. Vowgan what do you think?
Vowgan
CompuGeniusCode This comment will have to do, as canny posts cannot be edited.
n8bits
CompuGeniusCode It's some incompatibility with a specific library that is in the sdk's assembly. There is some funkiness with versioning that happened somewhere down the line.
valenvrc
I was wondering why mines were not working...