Solved

Error when importing scenario

When importing an exported scenario (from one CenarioVR license/suite to another), I get this rather vague error:

TypeError: Cannot read properties of undefined (reading 'data')


I have exported and imported other scenarios without any problems. How to solve this?


Solution

Here is an update on this customer's issue with their course. ELB Learning Customer Solutions opened a Support ticket for the OP and the OP sent us their CenarioVR course.


Our development team looked at their CenarioVR course and found the issues causing the errors.


First off, the course size is huge, over 4 GB. This size can cause issues importing and publishing just with network timeouts from the author's computer to the server.


We found that the videos were encoded as 8K videos which is entirely too large and will not run on most devices. Developing in CenarioVR is similar to developing web sites, your video and audio and images should be as small as possible without sacrificing quality. You need to pay attention to file size.


I will detail the steps they used below, but when all was done, the 4 GB course is now only 265 MB, almost 20 times smaller!


First is you should use Handbrake with the CenarioVR extension to encode your videos to sizes that make sense for web based projects. Some of these videos are only seconds long, but take up a really huge amount of space and resources.


The scene videos were very large., encoded as 8K MP4. This is not even a valid format for H.264 video. H.264 maxes out at 4K. We ran each scene video though Handbrake using the CenarioVR4K extension, and then re-zipped the file. It went from 4.5GB to 265MB. Almost 20 TIMES smaller, at no actual loss of resolution, because 8K videos are just not a valid format in any way. The zip file imports just fine now.


File sizes are very important and need to be addressed before adding your media to CenarioVR. You should to run your videos through Handbrake or similar software to compress before using in CenarioVR or other course authoring tools. Remember, H.264 MP4 is actually not intended for videos above 4K, and that you can't use video that is greater than 4K on most devices, let alone over the internet.


Discussion (5)

Hello, I'm still experiencing this TypeError problem (now with a different scenario), with no clue how to solve this, or how to locatie the problem in the json file for instance. Please help!!


.

Here is an update on this customer's issue with their course. ELB Learning Customer Solutions opened a Support ticket for the OP and the OP sent us their CenarioVR course.


Our development team looked at their CenarioVR course and found the issues causing the errors.


First off, the course size is huge, over 4 GB. This size can cause issues importing and publishing just with network timeouts from the author's computer to the server.


We found that the videos were encoded as 8K videos which is entirely too large and will not run on most devices. Developing in CenarioVR is similar to developing web sites, your video and audio and images should be as small as possible without sacrificing quality. You need to pay attention to file size.


I will detail the steps they used below, but when all was done, the 4 GB course is now only 265 MB, almost 20 times smaller!


First is you should use Handbrake with the CenarioVR extension to encode your videos to sizes that make sense for web based projects. Some of these videos are only seconds long, but take up a really huge amount of space and resources.


The scene videos were very large., encoded as 8K MP4. This is not even a valid format for H.264 video. H.264 maxes out at 4K. We ran each scene video though Handbrake using the CenarioVR4K extension, and then re-zipped the file. It went from 4.5GB to 265MB. Almost 20 TIMES smaller, at no actual loss of resolution, because 8K videos are just not a valid format in any way. The zip file imports just fine now.


File sizes are very important and need to be addressed before adding your media to CenarioVR. You should to run your videos through Handbrake or similar software to compress before using in CenarioVR or other course authoring tools. Remember, H.264 MP4 is actually not intended for videos above 4K, and that you can't use video that is greater than 4K on most devices, let alone over the internet.