I want to draw an SVG that I have as a string to a fullscreen UI.
I found a forum thread with a similar problem: Change SVG texture in realtime, where someone tried to draw an SVG to a normal texture. One of the solutions, it seems like I cannot use, because the AdvancedDynamicTexture does not have a LoadFromDataString method. The other solution in the thread involved creating an ObjectURL. I tried to adapt that to my problem (although I think that even in the playground of that solution it doesn’t actually work, still, it’s my best shot).
This is what I have so far (it doesn’t work):
Thanks for your help! (Usually, when I post here, I just miss something very obvious, let’s hope that’s the case here, too).