Failed to export projects for all platforms?

geckoForcegeckoForce Posts: 19Member


I am unable to export the tutorial game Dodge the Creeps to any platform.

Best Answer

  • MegalomaniakMegalomaniak Posts: 2,605
    edited March 22 Accepted Answer

    I wonder if perhaps your C drive root isn't protected such that you can't write to there. Try exporting to a different location such as your desktop perhaps?

    edit: Also, doesn't windows use the backslash \ for it's addresses? Forward-slash is a Unix convention isn't it?

Answers

  • geckoForcegeckoForce Posts: 19Member

    error code in Output :-
    core/os/dir_access.cpp:297 - Failed to open C:/dodge_the_creeps.exe
    editor/project_export.cpp:977 - Failed to export the project for platform 'Windows Desktop'

  • MegalomaniakMegalomaniak Posts: 2,605Admin
    edited March 22 Accepted Answer

    I wonder if perhaps your C drive root isn't protected such that you can't write to there. Try exporting to a different location such as your desktop perhaps?

    edit: Also, doesn't windows use the backslash \ for it's addresses? Forward-slash is a Unix convention isn't it?

  • TwistedTwiglegTwistedTwigleg Posts: 2,627Admin

    @Megalomaniak said:
    edit: Also, doesn't windows use the backslash \ for it's addresses? Forward-slash is a Unix convention isn't it?

    At least on my Windows machine, all of the addresses use backslashes (\). However, a Godot project I know has working exports on Windows (using Godot 3.0) shows forward slashes (/) in the export filepath. I think Godot might internally convert the slash based on the platform used.

  • fonofono Posts: 45Member

    Hello again,

    I've experienced problems exporting for mac. os Once it finish, the result is a pck.tmp or a zip.tmp.
    The file cannot be open, and godot close abruptly.
    I've tried the following version both in standard and mono:

    3.1.2
    3.2.1
    3.2.2 beta

    Now i want to write down a list of advices that should be useful for helping troubleshooting.

    I'm thing the bug could be related with the content of the project. is a mod of the shader master found here:
    https://github.com/jospic/godot3_shaders

    I'm just learning shaders and i've done nothing fancy or complex at all.
    I've taken the ro parameter and mapped x,y,z par to interact via keyboard with godot input.

    Any ideas? Now i'm testing a project that i sent to a friend.
    He reports that such project worked flawlessly.

    With 3.1.2 i got more error and the project itself doesn't run at all, however i've developed
    using 3.21 not 3.1.2.

    Compiling for win works flawlessly, but there's are error from the console at runtime

    it says in the logs:

    Config attempting to parse: 'D:\Godot\export\win/data_Godot/Mono/etc\mono\config'. (in domain Mono, info)

    The console is reporting other errors:

    Mono: Logfile is: C:/Users/I/AppData/Roaming/Godot/app_userdata/tunnel/mono/mono_logs/2020_04_29 14.50.24 (1436).txt
    SCRIPT ERROR: _music_pitch: Invalid operands 'Nil' and 'int' in operator '*'.
    At: res://Node2D.gdc:92

    Thanks for your help.

    Now first of all i want to try a different project to see if is related to something in the code.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file