Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Compilation problem for MacOS

  • #1, by red363 3 years ago Zitieren
    Hello!

    I wanted to test a small piece of the game on MacOS.
    I myself work in the version for WIN. I downloaded the MacOS version of the program and put it in the "platform" folder in my program directory. Next, I compiled the game with MacOS settings. But on Mac the game didn't start (starts, black screen and crashes in a second). Moreover, if I compile the version for WIN, then everything starts fine on WIN.

    Tell me, please, what could be the problem and what did I do wrong?
  • #2, by SimonS 3 years ago Zitieren
    There's no need to manually download platform files, the editor does it.

    On what hardware are you testing? There should be a crashlog if it's crashing.
  • #3, by red363 3 years ago Zitieren
    There's no need to manually download platform files, the editor does it.

    On what hardware are you testing? There should be a crashlog if it's crashing.
    there is a report, I do not know if this information will help to understand the problem ...

    https://1drv.ms/u/s!Anl4w4tP7uAPhL56s4ekmE7h4_ldtQ?e=QFeUX2
  • #4, by SimonS 3 years ago Zitieren
    Do you have any custom shaders? The metal api is more strict about variable naming and varyings in glsl. That's where the crash is. Maybe you can PM me a sample so I can tell you what the problem is.
  • #5, by SimonS 3 years ago Zitieren
    Alright, the shader is the problem, metal needs all varyings to be named the same in fragment and vertex. So just go to fourbit / Vertex and replace uvVarying with texcoord in the 2 locations.
  • #6, by red363 3 years ago Zitieren
    Alright, the shader is the problem, metal needs all varyings to be named the same in fragment and vertex. So just go to fourbit / Vertex and replace uvVarying with texcoord in the 2 locations.

    Thank you very much, Simon.
    I'll test and post the result
  • #7, by red363 3 years ago Zitieren
    Thank you very much again! Everything started on macOS