Home › Forums › General Questions › TypeError: Cannot read properties of null (reading ‘slice’)
- This topic has 5 replies, 3 voices, and was last updated 3 years, 2 months ago by Lee.
-
AuthorPosts
-
2021-10-03 at 2:38 pm #45766LeeCustomer
Hi. I am encountering this error message in my console.
Other apps are working fine, but some apps with multiple parts (especially with large meshes) are showing this message.I am not sure what possibly can cause this issue and how I can fix this.
I found the same topic submited exactly the same with mine in this forum, but he or she finally solved it by removing some parts.Any idea I can try it out for this?
Thank you for your help in advance.
Attachments:
You must be logged in to view attached files.2021-10-03 at 2:39 pm #45768LeeCustomerFor your information, I am using blender and the latest version of verge3d.
2021-10-03 at 5:05 pm #45772xeonCustomerCan you expand the TypeError so we can see the rest?
It seems its having an issue with loading your gltf in general.If you haven’t already tried this re-install 3.71 and export the gltf and see if you have the same issue. The 3.8 Blender GLTF exporter may have issues, its a .0 release.
When you say large models…how large are you talking?
Do the models comply with the suggested topology for Verge?
You may want to dump all materials, clean your scene and then export that model again and see if the GLTF causes the TypeError. If it does it might be model-specific…if it doesnt it might be material specific. This doesn’t rule out puzzle errors.When you load scenes in your initial scene has to contain all the puzzles of the upcoming scenes to be loaded. You will want to check that the names of the objects in your initial scene that are referencing the new scene are spelled correctly and exist in the new GLTF that is to be loaded. And of course you will want to be sure none of those puzzles can be executed before the scene is fully loaded so be sure those are encapsulated in a procedure and fired after the load.
You can always share your project and we can take a look.
Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.com2021-10-04 at 10:35 am #45800Alexander KovelenovStaff2021-10-14 at 9:32 am #46152LeeCustomerHi Xeon,
Sorry for the late response and thank you so much for your detailed answers.
I have tried all the solutions you mentioned, but it worked once I created a new app.
I think it is related gltf bug especially working with some geometries.
Thank you again for your time.
2021-10-14 at 9:33 am #46153LeeCustomerHi Alexander,
Unfortunately, I deleted the app projects with the troubles.
But let me share an app with you once I encounter that again for our users.Thank you for asking me though.
-
AuthorPosts
- You must be logged in to reply to this topic.