Sitelet https://web.archive.org/web/20251230172939/https://github.com/GodotECS/godex/issues/260
Skip to content

Godex doesn't seem to build against Godot 3.3.3: KeyError: 'float': #260

@leetNightshade

Description

@leetNightshade

Godex's SCsub access of env_ecs["float"] is triggering a build error for me. I see bulletphysics does that same check, but idk that I'm using bullet or that it's building. Idk why this is happening.

Is this a project or my local godot configuration issue?

Here's my output:

> Executing task in folder code: scons -j5 platform=x11 use_llvm=yes use_lld=yes <

scons: Reading SConscript files ...
Enabling ALSA
Enabling PulseAudio
Enabling udev support
KeyError: 'float':
  File "/home/ln/projects/warp-godot/godot/SConstruct", line 648:
    SConscript("modules/SCsub")
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 614:
    return method(*args, **kw)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 551:
    return _SConscript(self.fs, *files, **subst_kw)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 256:
    call_stack[-1].globals)
  File "/home/ln/projects/warp-godot/godot/modules/SCsub", line 21:
    SConscript(name + "/SCsub")  # Built-in.
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 614:
    return method(*args, **kw)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 551:
    return _SConscript(self.fs, *files, **subst_kw)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 256:
    call_stack[-1].globals)
  File "/home/ln/projects/warp-godot/godot/modules/godex/SCsub", line 9:
    if env_ecs["float"] == "64":
  File "/usr/lib/scons/SCons/Environment.py", line 410:
    return self._dict[key]
The terminal process "fish '-c', 'scons -j5 platform=x11 use_llvm=yes use_lld=yes'" terminated with exit code: 2.

Does your project require Godot 4 and not work with Godot 3? A comment in your main ReadMe seems to indicate you only build against Main, which would explain this.

If the Godot version is the cause of the error, how hard would it be to make it work with 3.3.3?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions