Environment:
- Windows 11 Insider Build
- Unity Editor 2022.2.17f1, 2022.2.18f1
The issue I am encountering when creating a new project each time in Unity is related to the VisualScripting and collections packages.
Specifically, error messages indicats that the VisualScripting package is missing override methods and the collections package is missing ‘ILSupport’ namespace.
How to Reproduce:
- In Unity Hub, New Project, Create 2D Core project in any folder.
- Enter Safe Mode window prompts, click ignore, and read the following log
Log:
Here is part of error log, I deleted the duplicates:
A meta data file (.meta) exists but its asset 'Packages/com.unity.2d.animation/Editor/SkinningModule/Lib/x64/BoundedBiharmonicWeightsModule.dll' can't be found. When moving or deleting files outside of Unity, please ensure that the corresponding .meta file is moved or deleted along with it.
Couldn't delete Packages/com.unity.2d.animation/Editor/SkinningModule/Lib/x64/BoundedBiharmonicWeightsModule.dll.meta because it's in an immutable folder.
A meta data file (.meta) exists but its asset 'Packages/com.unity.collections/Unity.Collections.LowLevel.ILSupport/Unity.Collections.LowLevel.ILSupport.dll' can't be found. When moving or deleting files outside of Unity, please ensure that the corresponding .meta file is moved or deleted along with it.
Couldn't delete Packages/com.unity.collections/Unity.Collections.LowLevel.ILSupport/Unity.Collections.LowLevel.ILSupport.dll.meta because it's in an immutable folder.
A meta data file (.meta) exists but its asset 'Packages/com.unity.visualscripting/Editor/VisualScripting.Core/Dependencies/Assemblies/Unity.VisualScripting.sqlite3.dll' can't be found. When moving or deleting files outside of Unity, please ensure that the corresponding .meta file is moved or deleted along with it.
Couldn't delete Packages/com.unity.visualscripting/Editor/VisualScripting.Core/Dependencies/Assemblies/Unity.VisualScripting.sqlite3.dll.meta because it's in an immutable folder.
A meta data file (.meta) exists but its asset 'Packages/com.unity.visualscripting/Editor/VisualScripting.Core/Dependencies/DotNetZip/Unity.VisualScripting.IonicZip.dll' can't be found. When moving or deleting files outside of Unity, please ensure that the corresponding .meta file is moved or deleted along with it.
Couldn't delete Packages/com.unity.visualscripting/Editor/VisualScripting.Core/Dependencies/DotNetZip/Unity.VisualScripting.IonicZip.dll.meta because it's in an immutable folder.
A meta data file (.meta) exists but its asset 'Packages/com.unity.visualscripting/Editor/VisualScripting.Core/Dependencies/YamlDotNet/Unity.VisualScripting.YamlDotNet.dll' can't be found. When moving or deleting files outside of Unity, please ensure that the corresponding .meta file is moved or deleted along with it.
Couldn't delete Packages/com.unity.visualscripting/Editor/VisualScripting.Core/Dependencies/YamlDotNet/Unity.VisualScripting.YamlDotNet.dll.meta because it's in an immutable folder.
A meta data file (.meta) exists but its asset 'Packages/com.unity.visualscripting/Editor/VisualScripting.Core/EditorAssetResources/Unity.VisualScripting.TextureAssets.dll' can't be found. When moving or deleting files outside of Unity, please ensure that the corresponding .meta file is moved or deleted along with it.
Couldn't delete Packages/com.unity.visualscripting/Editor/VisualScripting.Core/EditorAssetResources/Unity.VisualScripting.TextureAssets.dll.meta because it's in an immutable folder.
A meta data file (.meta) exists but its asset 'Packages/com.unity.visualscripting/Runtime/VisualScripting.Flow/Dependencies/NCalc/Unity.VisualScripting.Antlr3.Runtime.dll' can't be found. When moving or deleting files outside of Unity, please ensure that the corresponding .meta file is moved or deleted along with it.
Couldn't delete Packages/com.unity.visualscripting/Runtime/VisualScripting.Flow/Dependencies/NCalc/Unity.VisualScripting.Antlr3.Runtime.dll.meta because it's in an immutable folder.
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\Expression.cs(6,29): error CS0234: The type or namespace name 'Antlr3' does not exist in the namespace 'Unity.VisualScripting' (are you missing an assembly reference?)Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcLexer.cs(7,31): error CS0246: The type or namespace name 'Lexer' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcLexer.cs(29,32): error CS0115: 'NCalcLexer.GrammarFileName': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcLexer.cs(1492,30): error CS0115: 'NCalcLexer.mTokens()': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcLexer.cs(20,27): error CS0246: The type or namespace name 'ICharStream' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcLexer.cs(20,46): error CS0246: The type or namespace name 'RecognizerSharedState' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcLexer.cs(1975,33): error CS0246: The type or namespace name 'DFA' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcLexer.cs(1977,26): error CS0246: The type or namespace name 'BaseRecognizer' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcLexer.cs(1966,36): error CS0115: 'NCalcLexer.DFA7.Description': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcLexer.cs(1990,36): error CS0115: 'NCalcLexer.DFA14.Description': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(13,32): error CS0246: The type or namespace name 'Parser' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(29,16): error CS0246: The type or namespace name 'ITreeAdaptor' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(110,75): error CS0246: The type or namespace name 'RecognitionException' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(41,34): error CS0115: 'NCalcParser.TokenNames': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(49,32): error CS0115: 'NCalcParser.GrammarFileName': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(21,28): error CS0246: The type or namespace name 'ITokenStream' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(2231,32): error CS0246: The type or namespace name 'BitSet' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(2307,21): error CS0246: The type or namespace name 'CommonTree' could not be found (are you missing a using directive or an assembly reference?)Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(2644,41): error CS0246: The type or namespace name 'ParserRuleReturnScope' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(2309,36): error CS0115: 'NCalcParser.ncalcExpression_return.Tree': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(2329,36): error CS0115: 'NCalcParser.logicalExpression_return.Tree': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(2349,36): error CS0115: 'NCalcParser.conditionalExpression_return.Tree': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(2369,36): error CS0115: 'NCalcParser.booleanAndExpression_return.Tree': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(2389,36): error CS0115: 'NCalcParser.bitwiseOrExpression_return.Tree': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(2409,36): error CS0115: 'NCalcParser.bitwiseXOrExpression_return.Tree': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(2429,36): error CS0115: 'NCalcParser.bitwiseAndExpression_return.Tree': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(2449,36): error CS0115: 'NCalcParser.equalityExpression_return.Tree': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(2469,36): error CS0115: 'NCalcParser.relationalExpression_return.Tree': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(2489,36): error CS0115: 'NCalcParser.shiftExpression_return.Tree': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(2509,36): error CS0115: 'NCalcParser.additiveExpression_return.Tree': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(2529,36): error CS0115: 'NCalcParser.multiplicativeExpression_return.Tree': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(2549,36): error CS0115: 'NCalcParser.unaryExpression_return.Tree': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(2569,36): error CS0115: 'NCalcParser.primaryExpression_return.Tree': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(2589,36): error CS0115: 'NCalcParser.value_return.Tree': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(2609,36): error CS0115: 'NCalcParser.identifier_return.Tree': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(2629,36): error CS0115: 'NCalcParser.expressionList_return.Tree': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Runtime\VisualScripting.Flow\Dependencies\NCalc\NCalcParser.cs(2649,36): error CS0115: 'NCalcParser.arguments_return.Tree': no suitable method found to override
Library\PackageCache\com.unity.visualscripting@1.8.0\Editor\VisualScripting.Core\ResourceProviders\EmbeddedResourceProvider.cs(4,29): error CS0234: The type or namespace name 'TextureAssets' does not exist in the namespace 'Unity.VisualScripting' (are you missing an assembly reference?)
Library\PackageCache\com.unity.visualscripting@1.8.0\Editor\VisualScripting.Core\Utilities\BackupUtility.cs(3,29): error CS0234: The type or namespace name 'IonicZip' does not exist in the namespace 'Unity.VisualScripting' (are you missing an assembly reference?)
Library\PackageCache\com.unity.visualscripting@1.8.0\Editor\VisualScripting.Core\Utilities\EditorSerializationUtility.cs(8,29): error CS0234: The type or namespace name 'YamlDotNet' does not exist in the namespace 'Unity.VisualScripting' (are you missing an assembly reference?)
Library\PackageCache\com.unity.collections@1.2.4\Unity.Collections\UnsafeUtilityEx.cs(88,20): error CS0103: The name 'ILSupport' does not exist in the current context
Library\PackageCache\com.unity.collections@1.2.4\Unity.Collections\UnsafeUtilityEx.cs(104,24): error CS0103: The name 'ILSupport' does not exist in the current context
Also, full editor log attached.
9004294–1240723–Editor.txt (1.45 MB)