Hi everyone, I forked this project on GitHub: Repository.
As u can see, the project uses Unity version 2022.3.15f1.
I downloaded everything required in the repository and used the same version. However, when I try to build the .cs files I get errors like this:
Library/PackageCache/com.cesium.unity@4f07529114ee/Runtime/Cesium3DTile.cs(2,7): error CS0246: The type or namespace name ‘Reinterop’ could not be found (are you missing a using directive or an assembly reference?)
Library/PackageCache/com.cesium.unity@4f07529114ee/Runtime/Cesium3DTile.cs(2,7): error CS0246: The type or namespace name ‘Reinterop’ could not be found (are you missing a using directive or an assembly reference?)
The error appears to be due to this line of code: using Reinterop;
.
All Cesium .cs files seem to suffer from this error, as if the module in question could not be found.
I inserted cesium like the guys of the repo in manifest.json
:
{
"dependencies": {
"com.cesium.unity": "file:/home/user/Downloads/com.cesium.unity-1.2.0.tgz",
"com.google.ar.core.arfoundation.extensions": "https://github.com/google-ar/arcore-unity-extensions.git",
"com.unity.2d.sprite": "1.0.0",
"com.unity.collab-proxy": "2.2.0",
"com.unity.feature.ar": "1.0.1",
"com.unity.feature.development": "1.0.1",
"com.unity.inputsystem": "1.3.0",
"com.unity.learn.iet-framework": "3.1.3",
"com.unity.textmeshpro": "3.0.6",
"com.unity.timeline": "1.7.6",
"com.unity.visualscripting": "1.9.1",
"com.unity.xr.arcore": "5.1.1",
"com.unity.xr.management": "4.4.0",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
"com.unity.modules.animation": "1.0.0",
"com.unity.modules.assetbundle": "1.0.0",
"com.unity.modules.audio": "1.0.0",
"com.unity.modules.cloth": "1.0.0",
"com.unity.modules.director": "1.0.0",
"com.unity.modules.imageconversion": "1.0.0",
"com.unity.modules.imgui": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0",
"com.unity.modules.particlesystem": "1.0.0",
"com.unity.modules.physics": "1.0.0",
"com.unity.modules.physics2d": "1.0.0",
"com.unity.modules.screencapture": "1.0.0",
"com.unity.modules.terrain": "1.0.0",
"com.unity.modules.terrainphysics": "1.0.0",
"com.unity.modules.tilemap": "1.0.0",
"com.unity.modules.ui": "1.0.0",
"com.unity.modules.uielements": "1.0.0",
"com.unity.modules.umbra": "1.0.0",
"com.unity.modules.unityanalytics": "1.0.0",
"com.unity.modules.unitywebrequest": "1.0.0",
"com.unity.modules.unitywebrequestassetbundle": "1.0.0",
"com.unity.modules.unitywebrequestaudio": "1.0.0",
"com.unity.modules.unitywebrequesttexture": "1.0.0",
"com.unity.modules.unitywebrequestwww": "1.0.0",
"com.unity.modules.vehicles": "1.0.0",
"com.unity.modules.video": "1.0.0",
"com.unity.modules.vr": "1.0.0",
"com.unity.modules.wind": "1.0.0",
"com.unity.modules.xr": "1.0.0"
},
"scopedRegistries": [
{
"name": "Cesium",
"url": "https://unity.pkg.cesium.com",
"scopes": [
"com.cesium.unity",
"com.cesium.reinterop"
]
}
]
}
Could anyone help me? Is it a question of broken versions?