Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Resolved Errors when importing entities in Unity 2023.1a URP project.

Discussion in 'Entity Component System' started by KKurita, Aug 7, 2022.

  1. KKurita

    KKurita

    Joined:
    May 13, 2020
    Posts:
    2
    Some of these errors seem to be caused by destructive changes such as `Unity.Properties ver 2.0.0` and `Unity.Serialization ver 2.0.0`.

    ```
    Library\PackageCache\com.unity.platforms@0.51.0-preview.31\Editor\Unity.Build\BuildPipelineBaseJsonAdapter.cs(3,32): error CS0234: The type or namespace name 'Adapters' does not exist in the namespace 'Unity.Serialization.Json' (are you missing an assembly reference?)
    ```
    ```
    Library\PackageCache\com.unity.platforms@0.51.0-preview.31\Editor\Unity.Build\Components\SceneList.cs(6,32): error CS0234: The type or namespace name 'Adapters' does not exist in the namespace 'Unity.Serialization.Json' (are you missing an assembly reference?)
    ```
    ```
    Library\PackageCache\com.unity.platforms@0.51.0-preview.31\Editor\Unity.Build\BuildPipelineBaseJsonAdapter.cs(13,31): error CS0246: The type or namespace name 'JsonStringBuffer' could not be found (are you missing a using directive or an assembly reference?)
    ```
    ```
    Library\PackageCache\com.unity.platforms@0.51.0-preview.31\Editor\Unity.Build\PlatformJsonAdapter.cs(7,40): error CS0535: 'PlatformJsonAdapter' does not implement interface member 'IJsonAdapter<Platform>.Serialize(in JsonSerializationContext<Platform>, Platform)'
    ```
    https://docs.unity3d.com/Packages/c...nity.Serialization.Binary.IBinaryAdapter.html

    https://docs.unity3d.com/Packages/c...alization.Binary.Adapters.IBinaryAdapter.html
     
  2. Spy-Master

    Spy-Master

    Joined:
    Aug 4, 2022
    Posts:
    291
    https://docs.unity3d.com/Packages/c...anual/install_setup.html#unity-editor-version
     
    KKurita likes this.
  3. KKurita

    KKurita

    Joined:
    May 13, 2020
    Posts:
    2
    I understand that + means up to minor updates.
    I will wait for it to be included in the supported version in the future.
     
  4. Kmsxkuse

    Kmsxkuse

    Joined:
    Feb 15, 2019
    Posts:
    301
    Late 2022.2 and 2022.3 LTS is the current target of the DOTS team. 2023.1 or even 2023.2 is probably a year or two down the line. DOTS will probably only support 2023 LTS when it comes out.

    Thats to say, dont expect to be using the newest fancy graphics features coming in with the betas and alphas if you want to also use Unity's ECS / DOTS. Either chose the pre-release or use DOTS, there are no both.
     
    KKurita likes this.
  5. treviasxk

    treviasxk

    Joined:
    Apr 22, 2015
    Posts:
    33
    The same error appears for me, I tested in version 2021 LTS, 2022.1/2022.2.0b4(beta) and 2023(alpha)

    I can't install dots in any version.
     
  6. DreamersINC

    DreamersINC

    Joined:
    Mar 4, 2015
    Posts:
    130
    Entities is only supported upto unity 2021.3. Anything newer is not guaranteed
     
    treviasxk likes this.
  7. Rafaedsb

    Rafaedsb

    Joined:
    Jan 5, 2020
    Posts:
    2
    Any news on this topic? Some predictions for DOTS compatibility for 2023.1 beta?
     
    OUTTAHERE likes this.