Skip to content

Latest example errors out on macOS on Love 11.5 and Love 12 #8

@kfjustis

Description

@kfjustis

Steps

  1. Cloned the repo
  2. Ran the submodule update to get rxi
  3. cd into top-level folder
  4. Run love .
  5. Love2D fails with the following error:

2025-01-04 20:27:58.761 love[9619:330477] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:.
Error: menori/modules/core3d/gltf.lua:242: bad argument #1 to 'pack' (string expected, got userdata)
stack traceback:
[love "boot.lua"]:352: in function <[love "boot.lua"]:348>
[C]: in function 'pack'
menori/modules/core3d/gltf.lua:242: in function 'get_vertices_content'
menori/modules/core3d/gltf.lua:315: in function 'init_mesh'
menori/modules/core3d/gltf.lua:684: in function 'load'
examples/minimal/scene.lua:28: in function 'init'
menori/modules/libs/class.lua:57: in function 'Scene'
main.lua:12: in main chunk
[C]: in function 'require'
[love "boot.lua"]:323: in function <[love "boot.lua"]:126>
[C]: in function 'xpcall'
[love "boot.lua"]:362: in function <[love "boot.lua"]:355>
[C]: in function 'xpcall'

System Info

  • Apply M3
  • macOS Sonoma 14.7.1
  • Love 11.5
  • Menori version: f99b7c0 (latest as of today)

Tried Love 12 as well and got a slightly different error message:
Screenshot 2025-01-04 at 8 39 19 PM

I pulled the Love 12 version from here: https://github.com/love2d/love/actions/runs/12613441310

Would be happy to help with keeping this library working on Mac as I want to use it for a game, but could use some background info on what might be the issue here. Any advice would be great!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions