This profile is from a federated server and may be incomplete. Browse more on the original instance.

Zarr,

Seems to be comparing the waterfalls.

Large scenes stop opening (lemmy.blahaj.zone)

I have had this happen with two scenes by now. These scenes consist of a large tilemap with multiple layers, a player and thats it. The scenes inherit from a LevelBase class I wrote, but that is so simple. that it can’t be the problem. LevelBase just has a open_pause_menu() function and nothing else. Does anyone know why this...

Zarr,

I’d been having issues with this myself recently. I assume you’re in Godot 4.1? I tracked the issue down to being cyclic references in GDScript. As an example from what you’ve provided, you may have LevelBase referring to the Player script, and then the Player script referring to LevelBase. This only seems to be a problem with the type hinting in GDScript like the following:

var player:PlayerClass

Removing the hinting may fix it. As for the bug, you can read some more on it here: github.com/godotengine/godot/issues/80877

As a side note, I’ve noticed that 4.1 has this issue worse than 4.0. In 4.0 it just unbinds the script from the scene, and allows you to rebind it again. But in 4.1 it causes the error message, making you unable to open the scene.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • KamenRider
  • Ask_kbincafe
  • TheResearchGuardian
  • KbinCafe
  • Socialism
  • oklahoma
  • SuperSentai
  • feritale
  • All magazines