- A* version: 5.3.8
- Unity version: 6000.1.5f1
I admit…I am new to unity/C#, so maybe my .gitignore is wrong (I used the one github recommends when creating a new Unity Repo).
long story, short. Everything works, I push to new repo in github, I clone to new location on drive, and it fails to compile.
Searching around, it seems other people have had similar issues?
Packages\com.arongranberg.astar\Core\Serialization\JsonSerializer.cs(18,19): error CS0234: The type or namespace name 'Ionic' does not exist in the namespace 'Pathfinding' (are you missing an assembly reference?)
Packages\com.arongranberg.astar\Graphs\Navmesh\TileHandler.cs(4,19): error CS0234: The type or namespace name 'Clipper2Lib' does not exist in the namespace 'Pathfinding' (are you missing an assembly reference?)
Packages\com.arongranberg.astar\Core\Serialization\JsonSerializer.cs(514,3): error CS0246: The type or namespace name 'ZipEntry' could not be found (are you missing a using directive or an assembly reference?)
Packages\com.arongranberg.astar\Core\Serialization\JsonSerializer.cs(833,48): error CS0246: The type or namespace name 'ZipEntry' could not be found (are you missing a using directive or an assembly reference?)
Packages\com.arongranberg.astar\Core\Serialization\JsonSerializer.cs(846,36): error CS0246: The type or namespace name 'ZipEntry' could not be found (are you missing a using directive or an assembly reference?)
Packages\com.arongranberg.astar\Core\Serialization\JsonSerializer.cs(861,38): error CS0246: The type or namespace name 'ZipEntry' could not be found (are you missing a using directive or an assembly reference?)
Packages\com.arongranberg.astar\Core\Serialization\JsonSerializer.cs(865,44): error CS0246: The type or namespace name 'ZipEntry' could not be found (are you missing a using directive or an assembly reference?)
Packages\com.arongranberg.astar\Core\Serialization\JsonSerializer.cs(182,11): error CS0246: The type or namespace name 'ZipFile' could not be found (are you missing a using directive or an assembly reference?)
Packages\com.arongranberg.astar\Graphs\Navmesh\TileHandler.cs(279,19): error CS0246: The type or namespace name 'Clipper64' could not be found (are you missing a using directive or an assembly reference?)
Packages\com.arongranberg.astar\Graphs\Navmesh\TileHandler.cs(1067,28): error CS0246: The type or namespace name 'Clipper64' could not be found (are you missing a using directive or an assembly reference?)
Packages\com.arongranberg.astar\Graphs\Navmesh\TileHandler.cs(1075,44): error CS0246: The type or namespace name 'Point64' could not be found (are you missing a using directive or an assembly reference?)
for reference: my .gitignore
# This .gitignore file should be placed at the root of your Unity project directory
#
# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore
#
.utmp/
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/
/[Uu]ser[Ss]ettings/
*.log
# By default unity supports Blender asset imports, *.blend1 blender files do not need to be commited to version control.
*.blend1
*.blend1.meta
# MemoryCaptures can get excessive in size.
# They also could contain extremely sensitive data
/[Mm]emoryCaptures/
# Recordings can get excessive in size
/[Rr]ecordings/
# Uncomment this line if you wish to ignore the asset store tools plugin
# /[Aa]ssets/AssetStoreTools*
# Autogenerated Jetbrains Rider plugin
/[Aa]ssets/Plugins/Editor/JetBrains*
# Jetbrains Rider personal-layer settings
*.DotSettings.user
# Visual Studio cache directory
.vs/
# Gradle cache directory
.gradle/
# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
*.mdb
*.opendb
*.VC.db
# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
*.mdb.meta
# Unity3D generated file on crash reports
sysinfo.txt
# Mono auto generated files
mono_crash.*
# Builds
*.apk
*.aab
*.unitypackage
*.unitypackage.meta
*.app
# Crashlytics generated file
crashlytics-build.properties
# TestRunner generated files
InitTestScene*.unity*
# Addressables default ignores, before user customizations
/ServerData
/[Aa]ssets/StreamingAssets/aa*
/[Aa]ssets/AddressableAssetsData/link.xml*
/[Aa]ssets/Addressables_Temp*
# By default, Addressables content builds will generate addressables_content_state.bin
# files in platform-specific subfolders, for example:
# /Assets/AddressableAssetsData/OSX/addressables_content_state.bin
/[Aa]ssets/AddressableAssetsData/*/*.bin*
# Visual Scripting auto-generated files
/[Aa]ssets/Unity.VisualScripting.Generated/VisualScripting.Flow/UnitOptions.db
/[Aa]ssets/Unity.VisualScripting.Generated/VisualScripting.Flow/UnitOptions.db.meta
/[Aa]ssets/Unity.VisualScripting.Generated/VisualScripting.Core/Property Providers
/[Aa]ssets/Unity.VisualScripting.Generated/VisualScripting.Core/Property Providers.meta
# Auto-generated scenes by play mode tests
/[Aa]ssets/[Ii]nit[Tt]est[Ss]cene*.unity*