Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurations: GPU Texture Compression options are not saved or compiled correctly for any config other than "Default" #9474

Closed
nkrapivin opened this issue Feb 20, 2025 — with GM Bug Reporter · 2 comments
Assignees
Labels
build-bug Bugs when compiling projects inside GameMaker project This issue has a sample project attached
Milestone

Comments

@nkrapivin
Copy link

nkrapivin commented Feb 20, 2025

Description

As per discussion in the GameMaker Enterprise Discord server https://discord.com/channels/1226899065053122600/1226899066194231308/1339296608923418805 to use different GPU texture compression formats on different targets, one must use build configurations to set this up correctly for each texture group format.

However, I wasn't able to get this to work, I noticed that when I save my options for a different build config the changes are written to the YYP file, but when I save the project, swap to Default and swap back - the fields are reset to their values from the Default config.
Even worse, trying to run the project with a non-Default build config results in the Default options being used.

Reproduced in HYPERVIOLENT (indev Beta version) and YoYoGames's own https://github.com/YoYoGames/GM-GPUTextureCompression demo project.
Setting GPU texture compression options in the Default config only will work (reproduced in DREAMOUT for Switch), but this is very suboptimal if the game has many large texture groups.

This is blocking my progress on some console ports as this is one of the things I wanted to use to optimize RAM usage.

Steps To Reproduce

  1. Load the project
  2. Choose any build config that isn't Default (for example BC7 on Windows)
  3. Open Tools > Texture Groups and observe that the fields are still kept from the Default config in the group "Inspector"
  4. Try to run the project and observe that the compiler is still trying to use the formats from the Default config
  5. Observe the issue

Which version of GameMaker are you reporting this issue for?

IDE v2024.1300.0.743 Runtime v2024.1300.0.753

Which operating system(s) are you seeing the problem on?

Windows 10.0.19045.0

Which platform(s) are you seeing the problem on?

PlayStation 4, PlayStation 5, Windows

60ab750d-0635-4181-8509-dbc7de14d47f

@gm-bug-reporter gm-bug-reporter bot added build-bug Bugs when compiling projects inside GameMaker project This issue has a sample project attached labels Feb 20, 2025
@stuckie stuckie self-assigned this Feb 21, 2025
@stuckie stuckie moved this from Triage to Todo in Team Workload Feb 21, 2025
@stuckie stuckie added this to the 2024.13 milestone Feb 21, 2025
@stuckie
Copy link

stuckie commented Mar 4, 2025

Fixed as part of #9373

@stuckie stuckie closed this as completed Mar 4, 2025
@github-project-automation github-project-automation bot moved this from Todo to Done in Team Workload Mar 4, 2025
@gurpreetsinghmatharoo gurpreetsinghmatharoo moved this from Done to Ready for QA in Team Workload Mar 5, 2025
@YYDan YYDan changed the title Build Configs can't be used to change GPU texture compression options Configurations: GPU Texture Compression options are not saved or compiled correctly for any config other than "Default" Mar 6, 2025
@Emc1923
Copy link

Emc1923 commented Mar 7, 2025

Verified as of IDE v2024.1300.0.769 Runtime v2024.1300.0.776

@Emc1923 Emc1923 moved this from Ready for QA to Verified in Team Workload Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-bug Bugs when compiling projects inside GameMaker project This issue has a sample project attached
Projects
Status: Verified
Development

No branches or pull requests

3 participants