Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac error -10810 on exported game #37725

Closed
Levrault opened this issue Apr 9, 2020 · 7 comments · Fixed by #39700
Closed

Mac error -10810 on exported game #37725

Levrault opened this issue Apr 9, 2020 · 7 comments · Fixed by #39700

Comments

@Levrault
Copy link
Contributor

Levrault commented Apr 9, 2020

Godot version:
3.2.1 stable

OS/device including version:
Mac IOs 10.15.2

Issue description:
Hi all, I got a strange issue while exporting my game. Windows/Linux version works great but the MacOs version keep triggering an error 10810 (unknow error). I do not own a Mac so it was pretty hard to understand why the build was failing.

So I manage to get a remote access to a Mac and re-export the project directly with the Godot Mac version (3.2.1 stable). The build fail again. So I try to make it run through the terminal, to see if some fancy errors would pop up but I still got the 10810 message :/.

The problem could probably came from my project, but without any error/warning, I just don't know what to do. I run it directly from Godot and everything was running smoothly :/

Steps to reproduce:

  • Get a access to a mac
  • The project should run fine when playing through the in-game editor
  • Export the project with the following config
    image
  • Export a debug or release version
  • Execute

Minimal reproduction project:
I'm really sorry but a minimal project is pretty hard to produce since I do not own a Mac.

But here to source code of the project https://github.com/Levrault/godot-maximilien-adventure and the Mac OS build
https://drive.google.com/open?id=1z7BYik6_3BJM6Qi0E-jqXXLCOYeoV0Cj that fail.
Thanks a lot

@bruvzg
Copy link
Member

bruvzg commented Apr 10, 2020

See #527, .ZIP exports are not setting +x file attribute on the executable, try exporting as .DMG.

@Levrault
Copy link
Contributor Author

Thanks for the reply, How can we export in .DMG? I read the doc

When exporting for macOS, if you export on a macOS computer, you’ll end up with a .dmg file, while using Linux or Windows produces a .zip. In either case, the compressed file contains a macOS .app that you can double-click and run.

But when I exported on the Mac, I still got a .zip file.

@bruvzg
Copy link
Member

bruvzg commented Apr 10, 2020

How can we export in .DMG?

Select DMG in the file type dropdown of the save dialogue, or just add ".dmg" at the end of export filename.

@Levrault
Copy link
Contributor Author

Exporting to DMG solve the issue thanks a lots!

@bruvzg
Copy link
Member

bruvzg commented Jun 8, 2020

#33447 was merged and cherry-picked to 3.2.2, macOS ZIP exports should work now.

@keyle
Copy link

keyle commented Jul 22, 2020

FyI I'm on 3.2.2 stable official, with a blank project, a camera and a cylinder: ZIP export still doesn't work. DMG does work.

Contents/MacOS/ :
-rw------- 1 k staff 38M 22 Aug 2020 TestOSX

Manually chmod +x the file does make it work...

@akien-mga
Copy link
Member

There was a regression later on that made it in 3.2.2.stable.
Can you try 3.2.3.beta1 which should solve it? https://godotengine.org/article/dev-snapshot-godot-3-2-3-beta-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants