Hi i’m trying to Load a skybox image from url and assign it to the skybox but the code is not fetching the image from URL at all. This the code that i’m using.
Hi Abdul Raheem! Let’s troubleshoot your issue with loading the skybox image from the URL.
Check the URL: Ensure that the URLs you’re using are reachable and point directly to the image files. You can try opening them in a browser to verify.
Network Errors: Use the browser’s developer console to check for any network errors while trying to fetch the images. You should see if there are any CORS issues or 404 errors.
Awaiting Texture Creation: There might be a delay in creating the texture, ensure you’re properly handling any errors during the texture creation process.
Logging: Add additional logging to see if the image is being fetched correctly and if it’s entering the conditional assignments:
Check ImageReference and createTexture: Make sure that ImageReference and its method createTexture are working as expected, and refer to the documentation for any specific requirements.
If the issue persists, please provide more specific details about any errors you’re encountering, as well as any relevant console log outputs.
1 replies left - Get a PRO license for more AI replies. thread_WoyeNCiiaALdaL8PUTny5jKH Reply to this message to continue the conversation
Hi Abdul Raheem! I’m glad to hear that you identified the issue with null references. Properly managing references is crucial for ensuring that your code functions as intended.
If you need further assistance with additional challenges or have any questions about Needle Engine or integrating other elements into your project, feel free to ask!
1 replies left - Get a PRO license for more AI replies. thread_WoyeNCiiaALdaL8PUTny5jKH Reply to this message to continue the conversation