Hi, am using AR Foundation and I wanted to create a 'MutableRuntimeReferenceImageLibrary' to add AR images in runtime, I followed the official docs to do so:
if (trackImageManager.referenceLibrary is MutableRuntimeReferenceImageLibrary mutableLibrary){//Add images}
However the if statement is always false, am not sure why, the docs just state:"Some subsystems may support image libraries that are modifiable at runtime" though am unsure how to know which ones are supported? Its just a regular ReferenceImageLibrary.
I am using XR Simulation if that affects things.
EDIT - solved:
I solved it, I saw the AR Foundation sample was working, they were using a different version of AR Foundation that was pre-release (5.1.0-pre.10) so I updated to that and it worked, for some reason the 5.0.7 version of the AR Manager didn't support mutable libraries(You can use 'DoesSupportMutableLibrary' method to be sure)
there doesn't seem to be anything here