Skip to content

Material Maker 1.3 crash after resource loading on windows exe but runs properly under wsl. #618

@zhmstr

Description

@zhmstr

**Material Maker version: **
Material Maker 1.3 from Release

OS/device including version:
Windows 10 / 22H2
AMD Ryzen 5 4600G

Issue description:
Material Maker 1.3 doesn't run on Windows 10 but runs under WSL.

Here's the output in console (WSL Ubuntu), this output log is only opening material maker and closing.

$ ./material_maker.x86_64
Godot Engine v3.5.2.stable.custom_build.170ba337a - https://godotengine.org
OpenGL ES 3.0 Renderer: D3D12 (AMD Radeon(TM) Graphics)
Async. shader compilation: OFF

Cannot open user://export_targets
Failed to open user://library/user.json
Failed to open user://library/user_brushes.json
WARNING: Ignoring unsupported header information in HDR: GAMMA=1.
     at: load_image (modules/hdr/image_loader_hdr.cpp:50)
WARNING: Ignoring unsupported header information in HDR: PRIMARIES=0 0 0 0 0 0 0 0.
     at: load_image (modules/hdr/image_loader_hdr.cpp:50)
2
ERROR: Index p_index = -1 is out of bounds (data.children.size() = 2).
   at: get_child (scene/main/node.cpp:1362)
ERROR: Index p_idx = -1 is out of bounds (items.size() = 8).
   at: set_item_disabled (scene/gui/popup_menu.cpp:871)
Buffer histogram_5888 (updating) should not be invalidated status
WARNING: ObjectDB instances leaked at exit (run with --verbose for details).
     at: cleanup (core/object.cpp:2070)
ERROR: Resources still in use at exit (run with --verbose for details).
   at: clear (core/resource.cpp:417)

And the output running directly from windows that crashes. (not WSL):

PS D:\material_maker_1_3_windows> .\material_maker.exe
Godot Engine v3.5.2.stable.custom_build.170ba337a - https://godotengine.org
OpenGL ES 3.0 Renderer: AMD Radeon(TM) Graphics
Async. shader compilation: OFF

Cannot open user://export_targets
Failed to open user://library/user.json
Failed to open user://library/user_brushes.json
WARNING: Ignoring unsupported header information in HDR: GAMMA=1.
     at: ImageLoaderHDR::load_image (modules\hdr\image_loader_hdr.cpp:50)
WARNING: Ignoring unsupported header information in HDR: PRIMARIES=0 0 0 0 0 0 0 0.
     at: ImageLoaderHDR::load_image (modules\hdr\image_loader_hdr.cpp:50)
2
ERROR: Index p_index = -1 is out of bounds (data.children.size() = 2).
   at: Node::get_child (scene\main\node.cpp:1362)

I would say that is because it's not running under "D3D12" in windows 10 (exe).
Steps to reproduce:

Execute material-maker.exe and material-maker.x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions