I just installed the ProBuilder package into my unity project and i get this error:
Error log encase the image is hard to read:
A meta data file (.meta) exists but its folder ‘Packages/com.unity.probuilder/External/StlExporter’ can’t be found, and has been created. Empty directories cannot be stored in version control, so it’s assumed that the meta data file is for an empty directory in version control. When moving or deleting folders outside of Unity, please ensure that the corresponding .meta file is moved or deleted along with it.
Library\PackageCache\com.unity.probuilder@5.0.3\Editor\MenuActions\Export\Export.cs(5,30): error CS0234: The type or namespace name ‘Stl’ does not exist in the namespace ‘UnityEngine.ProBuilder’ (are you missing an assembly reference?)
Library\PackageCache\com.unity.probuilder@5.0.3\Editor\MenuActions\Export\ExportPly.cs(7,30): error CS0234: The type or namespace name ‘Stl’ does not exist in the namespace ‘UnityEngine.ProBuilder’ (are you missing an assembly reference?)
Library\PackageCache\com.unity.probuilder@5.0.3\Editor\MenuActions\Export\ExportStlAscii.cs(7,30): error CS0234: The type or namespace name ‘Stl’ does not exist in the namespace ‘UnityEngine.ProBuilder’ (are you missing an assembly reference?)
Library\PackageCache\com.unity.probuilder@5.0.3\Editor\MenuActions\Export\ExportStlBinary.cs(5,30): error CS0234: The type or namespace name ‘Stl’ does not exist in the namespace ‘UnityEngine.ProBuilder’ (are you missing an assembly reference?)
Library\PackageCache\com.unity.probuilder@5.0.3\Editor\MenuActions\Export\Export.cs(42,14): error CS0246: The type or namespace name ‘FileType’ could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.probuilder@5.0.3\Editor\MenuActions\Export\ExportStlAscii.cs(49,77): error CS0246: The type or namespace name ‘FileType’ could not be found (are you missing a using directive or an assembly reference?)
If I remove the ProBuilder package all the errors go away.
Things I have tried:
I went to my project’s library folder and deleted the package cache folder.
I went to preferences and regenerated all my project files.
I still have this error - its completely unusable as my project won’t compile.
How do I fix this ?
Hey, I’m sorry to see you are having this issue. Unfortunately I was not able to reproduce in a project I created in 2021.1.6f1. Could you submit a bug , so we could have more information, like the specific Unity version, the Operative System, and also a demo project where the issue is present: maybe the problem comes from the interaction with other packages. Thanks in advance.