Is there any way to store textures returned from the copyFrame() function into an array? I've tried doing so, but when I go to place the texture onto a material, I get an error that reads,
- Error: Argument -1: Value is not a native object
- at [anon] () native strict preventsyield
- at [anon] (Scripts/Init:17) preventsyield
I've come to the conclusion that the copyFrame() function does not return an actual Asset.Texture object, but another, incomplete version of that class that can be stored temporarily in memory.
If you would like to see my code, here it is.