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

Other Error building player because script class layout might be incompatible between the editor and ...

Discussion in 'Editor & General Support' started by StephanBis, Aug 15, 2022.

  1. StephanBis

    StephanBis

    Joined:
    Jul 22, 2022
    Posts:
    2
    Error building player because script class layout might be incompatible between the editor and the player.

    We are trying to build a 2D project but are getting vague build errors. The logs don't tell us anything meaningful. It seems to fail somewhere in the Mono.Cecil namespace.
    The project itself is based around the OpenPose library, but we can't find any errors that have to do with this library.
    We are using Unity Editor 2021.3.7f1.

    Editor log file: https://pastebin.com/WK8wXJTc
     
  2. StephanBis

    StephanBis

    Joined:
    Jul 22, 2022
    Posts:
    2
  3. brunosallesdev

    brunosallesdev

    Joined:
    Dec 19, 2021
    Posts:
    5
    I dont use openpose library. There is another way to resolve it?