'Reinterop' could not be found - Cesium does not work

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?

I’m unsure why you’re getting this error, as the Reinterop namespace should be present in version 1.2.0 that you’re using. However, I’ll note that Cesium for Unity version 1.2.0 is almost a year and a half old at this point. Would you mind testing the project with the most recent version of Cesium for Unity, version 1.13.0, to help narrow down the issue?

The most common cause of that error is you’re trying to use an unsupported platform, such as Linux.

Yes, this was the issue as I imagined. It took me a while to test it on Windows having a PC with Linux Mint on it. Now I have other errors, if you can help me , can I send it in this thread?

I’d suggest starting a new thread if you have a new problem. Please do continue using the forum, though!