A weird linux build bug? Sprite becomes super tiny when passing some "threshold"

Not favoritedFavorited Favorited 0 favourites
  • 7 posts
From the Asset Store
Cute cartoon girl character with Walk, Jump, and Idle animations for 2D games.
  • So I've been developing a game, and I built a linux version of the demo I had.

    But for some reason, when this ONE specific enemy passes a threshold, it becomes super tiny?

    It's only on the linux, not even on Steam Deck which USES the exact same linux build.

    I'm not really sure what's happening and I've looked into what might be causing it on the scripting side, and there's nothing to my knowledge...

    Below is the link with the timestamp where I saw this happen and multiple demo players have also reported the bug!

    youtu.be/6C6v6bmb5gM

  • It doesn't get any smaller; you can see in the video how you hit it with a bullet, which means the collision is the same, but something happened with the rendering.

  • I see the sprite moving on the floor though, but yeah the collision is the same!

    Not really sure what is causing it!

  • A community member found out that if you change the launch option to the following it will fix the problem!:

    --ozone-platform=x11 From --ozone-platform=wayland

    Is there a way I can make this default so they don't have to do it?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • If you have weird graphical issues on Linux only, it's most likely a graphics driver bug. Installing the latest drivers may help, or installing proprietary drivers if you're using open-source drivers.

    Unfortunately poor quality graphics drivers are an industry-wide problem, and Linux can be particularly problematic with them as well.

  • If you have weird graphical issues on Linux only, it's most likely a graphics driver bug. Installing the latest drivers may help, or installing proprietary drivers if you're using open-source drivers.

    Unfortunately poor quality graphics drivers are an industry-wide problem, and Linux can be particularly problematic with them as well.

    It seems like it's happening on EVERYONE who plays on linux though.

    I suppose it could still be a driver issue and some linux players who aren't running into trouble are playing just fine and haven't looked in the steam forums.

  • If you ask for hardware details of those affected it can help identify it. For example if everyone affected is using an NVIDIA GPU, and people using AMD GPUs are not affected, it's likely an NVIDIA Linux driver bug. If everyone with all sorts of GPUs are affected, it probably means it's not a driver bug. Don't discount that it could be a mistake in your own project's logic - it is possible even if it seems like it only happens on Linux. There could be something different about Linux (such as resolution, frame scheduling, etc) that causes a bug in your project logic.

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)