I’m facing an issue when creating new SpriteManager(“name”, “image url”, …) from remote/external javascript file in my react-native application. I’m getting Error parsing URL scheme: URL does not have a valid scheme. But when I’m do this same thing from react-native component file it working fine.
One more thing I have found about the SpriteManager, that is when I create a SpriteManager from React-Native Component File after that the whole process is working fine from remote/external javascript file.
I’m not sure I understand what you trying to do. Is it possible to repro you usage using a Playground so I can have something to test against using Babylon Native?
@Suman , what is the URL you are trying to use? I’m asking this because React Native supports relative URLs but Babylon React Native doesn’t. So if you try to use a relative URL the parsing will fail.
Maybe you can provide a repro Github project so we can investigate this better?