Error when I import new assets ( TypeError: cannot read property 'split' of undefined)



This happened often while a was developing, when i would import a new asset, it would for some reason give me this:

Uncaught TypeError: cannot read property ‘split’ of undefined

And when I would delete the asset, the error was gone, but i still need those assets…
So I want to know, why and what is causing that, obviously the asset I am trying to import in my project, but what about my asset?

Thanks in advance!


Is it only one particular asset or any new asset? What type of asset is it?


Happened every time I tried to put a new mp4


I generally recommend that MP4 video files are externally hosted as they are usually quite large and don’t benefit from being part of the project. (Branching and the versioning also takes a lot of space)