- Home /
Assertion failed on expression 'GetPathNameExtension(path) == "unity"'
Has anyone come across the error message shown in the title?
It's started cropping up in the console when our project is loaded. No other information at all (in the console or editor log).
Is the .unity extension ever used for anything other than scene files? I can't find anything purporting to be scene file that doesn't have that extension and I'm stumped for ideas.
As far as I can tell, everything is working fine. At some point I'll try deleting the Library folder and letting it reimport everything to see if that makes it go away, but I've too much to do at the moment to take time out for that. I'll update when I have tried that but in the meantime was wondering if anyone on here had any insights.
[Edit] Have now tried deleting the Library folder to force a reimport, and also imported the project afresh into new workspaces. It doesn't help.
We've now found a reference to the same issue here: https://forum.unity.com/threads/mesh-baker-by-digital-opus-released.159258/page-36
Although it's not clear why the poster thinks that the $$anonymous$$eshBaker plugin is responsible, we do have it too. So it looks like a good lead, but we still haven't gotten any further in working it out.
Answer by DawidNorasDev · Oct 31, 2018 at 02:24 PM
If there is an error with Unity that you don't know what caused it. Usually removing Library directory (while having Unity closed), it fixed itself. Keep in mind, when you remove Library directory, it will cause EVERYTHING in your project to be re imported. And it takes time
Err, thanks. I did kind of mention this in my question :)
Your answer
Follow this Question
Related Questions
Failed to import survival shooter 0 Answers
Unity wont enter play mode - compiler errors? 0 Answers
import scenes into project 1 Answer
Unity Deletes Intersecting Polygons? Blender to Unity 1 Answer