VoxelTek / PaperLily

2 stars 0 forks source link

Exports Don't Run on MacOS #4

Open ButterflyEffect-07 opened 4 months ago

ButterflyEffect-07 commented 4 months ago

Issue

Exporting on MacOS provides the correct file, but MacOS refuses to run it under any circumstance, it just crashes, even with Gatekeeper disabled.

How to Reproduce

  1. Export the game on MacOS (Apple Silicon)
  2. Attempt to run the game
  3. Game Crashes

Extra Info

ERROR: res://Initializer.tscn:1 - Parse Error: at: open (scene/resources/resource_format_text.cpp:804) ERROR: Failed loading resource: res://Initializer.tscn. Make sure resources have been imported by opening the project in the editor at least once. at: _load (core/io/resource_loader.cpp:271) ERROR: Failed loading scene: res://Initializer.tscn at: start (main/main.cpp:2107) WARNING: ObjectDB instances leaked at exit (run with --verbose for details). at: cleanup (core/object.cpp:2070)

I have already tried reimporting the project, installing the files again, and more.

(Verbose output below)


arguments
0: /Users/[my username]/Desktop/Lacie Engine.app/Contents/MacOS/PaperLilyDebug
1: --verbose
Failed to get modified time for: project.godot
Godot Engine v3.5.3.stable.mono.official.6c814135b - https://godotengine.org
Using GLES3 video driver
OpenGL debugging not supported!
OpenGL ES 3.0 Renderer: Apple M1
Async. shader compilation: OFF
OpenGL ES 2D Batching: ON
Batching Options:
    max_join_item_commands 16
    colored_vertex_format_threshold 0.25
    batch_buffer_size 16384
    light_scissor_area_threshold 1
    item_reordering_lookahead 4
    light_max_join_items 32
    single_rect_fallback False
    debug_flash False
    diagnose_frame False
CoreAudio: detected 2 channels
CoreAudio: audio buffer frames: 512 calculated latency: 11ms

UNSUPPORTED (log once): POSSIBLE ISSUE: unit 1 GLD_TEXTURE_INDEX_2D is unloadable and bound to sampler type (Float) - using zero texture because texture unloadable
Mono: Initializing module...
Mono JIT compiler version 6.12.0 ((no/6051b710)
Mono: Log file is: '/Users/[my username]/Library/Application Support/Paper Lily/mono/mono_logs/2024-05-17_12.19.47_20145.log'
Mono: Runtime initialized
Mono: Loading assembly mscorlib...
Mono: Assembly mscorlib loaded from path: .mono/assemblies/Release/mscorlib.dll
Mono: Loading scripts domain...
Mono: Creating domain 'GodotEngine.Domain.Scripts'...
Mono: INITIALIZED
Mono: Loading assembly GodotSharp...
Mono: Assembly GodotSharp loaded from path: .mono/assemblies/Release/GodotSharp.dll
Mono: Loading assembly Lacie Engine...
Mono: Assembly Lacie Engine loaded from path: .mono/assemblies/Release/Lacie Engine.dll
CORE API HASH: 0
EDITOR API HASH: 0
Loading resource: res://Initializer.tscn
ERROR: res://Initializer.tscn:1 - Parse Error: 
   at: open (scene/resources/resource_format_text.cpp:804)
ERROR: Failed loading resource: res://Initializer.tscn. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:271)
ERROR: Failed loading scene: res://Initializer.tscn
   at: start (main/main.cpp:2107)
Mono: Finalizing scripts domain...
Mono: Unloading scripts domain...
Mono: Runtime cleanup...
Mono: Finalized
WARNING: ObjectDB instances leaked at exit (run with --verbose for details).
     at: cleanup (core/object.cpp:2070)
Leaked instance: MultiplayerAPI:1205
Leaked instance: ViewportTexture:1202 - Resource path: 
Leaked instance: World:1203 - Resource path: 
Leaked instance: Viewport:1199 - Node name: root
Leaked instance: World2D:1200 - Resource path: 
Leaked instance: SceneTree:1198
Leaked instance: Physics2DDirectSpaceStateSW:1201
Leaked instance: BulletPhysicsDirectSpaceState:1204
Hint: Leaked instances typically happen when nodes are removed from the scene tree (with `remove_child()`) but not freed (with `free()` or `queue_free()`).
Orphan StringName: tree_changed
Orphan StringName: _server_disconnected
Orphan StringName: network_peer_connected
Orphan StringName: World2D
Orphan StringName: BulletPhysicsDirectSpaceState
Orphan StringName: _network_peer_connected
Orphan StringName: _network_peer_disconnected
Orphan StringName: node_added
Orphan StringName: World
Orphan StringName: Viewport
Orphan StringName: network_peer_disconnected
Orphan StringName: node_removed
Orphan StringName: _vp_gui_input1199
Orphan StringName: _vp_input1199
Orphan StringName: Physics2DDirectSpaceStateSW
Orphan StringName: root
Orphan StringName: MultiplayerAPI
Orphan StringName: _vp_unhandled_key_input1199
Orphan StringName: _connection_failed
Orphan StringName: SceneTree
Orphan StringName: connected_to_server
Orphan StringName: node_renamed
Orphan StringName: connection_failed
Orphan StringName: _vp_unhandled_input1199
Orphan StringName: _connected_to_server
Orphan StringName: ViewportTexture
Orphan StringName: server_disconnected
StringName: 27 unclaimed string names at exit.
ButterflyEffect-07 commented 4 months ago

I have a feeling Paper Lily uses a custom template for MacOS export (that I do not have) but I cannot be sure.

ButterflyEffect-07 commented 4 months ago

I figured it out, partially, I got it to run but it's just a black screen. had to uncheck steam.steam

ButterflyEffect-07 commented 4 months ago

Now the the export runs, technically this issue is solved.

VoxelTek commented 4 months ago

Not sure this is actually solved, requires further investigation.