Skip to content

Failed to generate g-code for invalid custom g-code *SOLVED* #10627

Description

@reminilsen90

Bambu Studio Version

2.6.1.55

Where is the application from?

Bambu Lab Official website

OS version

Windows 11

Additional system information

No response

Printer

Bambu Lab P2S

How to reproduce

Sync the AMS filaments and the custom profiles saved. When trying to use these saved filament profiles the failure message "Failed to generate g-code for invalid custom g-code" comes every time i try to slice. Models I have printed several times before with the same filaments keeps on failing.

Image

Actual results

Ever since I updated the bambu studio I cannot use my custom filaments, or the bambu filaments I have tuned and saved.
When slicing it crashes every time. Hoped this last update would solve issue, but it has not.
If i use default filament profiles it slices, but this is useless if I want nice prints with my filaments that I have spent time on tuning.

Expected results

It should work as it did before. The whole point in saving the custom tuned filament profiles is to achieve nice prints.
Have tried several "fixes" from other people giving tips online such as reinstalling bambu studio, delete folder "ota" and "system" in the "show configuration folder", nothing helps. I am now bound to use only default filament profiles.

Project file & Debug log uploads

Failed to generate G-code_PCC Chamber flag_V2.zip

Checklist of files to include

  • Log file
  • Project file

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions