I'm new to vuforia, and I am trying to create trackable image targets at runtime. I have found a tutorial here: https://library.vuforia.com/content/vuforia-library/en/articles/Solution/how-to-create-and-load-targets-in-unity.html.
My code (basically the same) https://pastebin.com/UTXQFwrg
The image targets are created sucessfully, vuforia is initialized, but the texture is not set on the runtimeImageSource.
What am I doing wrong?
Edit: I'm using vuforia 9.5.4 and unity 2020.1.13