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

Tesseratos crashes when trying to open Pallete Editor #1403

Open
jdbaracho opened this issue Dec 7, 2024 · 0 comments
Open

Tesseratos crashes when trying to open Pallete Editor #1403

jdbaracho opened this issue Dec 7, 2024 · 0 comments
Assignees
Labels
A-Engine B-Assets C-Crash P-Urgent This issue is a big priority, and it would be good to close it ASAP
Milestone

Comments

@jdbaracho
Copy link
Contributor

Description

When cheking the box to activate the Palette Editor tool on tesseratos it crashes the whole application.

Reproduce

Steps to reproduce the behavior:

  1. Open tesseratos.exe
  2. Click on the Pallete Editor checkbox to try and activate the tool

Expected behaviour

Tesseratos crashes.

Additional context

Debugger message

Exception has occurred: CPP/std::bad_optional_access
Unhandled exception at 0x00007FFA66D3FA4C in tesseratos.exe: Microsoft C++ exception: std::bad_optional_access at memory location 0x000000AA6014D960.

Stacktrace

KernelBase.dll!00007ffa66d3fa4c() (Unknown Source:0)
vcruntime140d.dll!00007ffa48cd9362() (Unknown Source:0)
cubos-engine.dll!std::_Throw_bad_optional_access() Line 53 (c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\include\optional:53)
cubos-engine.dll!std::optional<uuids::uuid>::value() Line 410 (c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\include\optional:410)
cubos-engine.dll!cubos::engine::Assets::status(const cubos::engine::AnyAsset & handle) Line 382 (c:\Users\Joaod\Desktop\cubos\engine\src\assets\assets.cpp:382)
tesseratos.exe!tesseratos::voxelPaletteEditorPlugin::__l2::<lambda_2>::operator()(cubos::engine::Assets & assets, `anonymous-namespace'::SelectedPaletteInfo & selectedPalette, cubos::engine::RenderPalette & activePalette, cubos::engine::Toolbox & toolbox) Line 153 (c:\Users\Joaod\Desktop\cubos\tools\tesseratos\src\tesseratos\voxel_palette_editor\plugin.cpp:153)
tesseratos.exe!`cubos::core::ecs::System<void>::SystemFunction<`tesseratos::voxelPaletteEditorPlugin'::`2'::<lambda_2>,cubos::engine::Assets &,`anonymous namespace'::SelectedPaletteInfo &,cubos::engine::RenderPalette &,cubos::engine::Toolbox &>::call'::`2'::<lambda_1>::operator()<cubos::core::ecs::SystemFetcher<cubos::engine::Assets &> &,cubos::core::ecs::SystemFetcher<`anonymous namespace'::SelectedPaletteInfo &> &,cubos::core::ecs::SystemFetcher<cubos::engine::RenderPalette &> &,cubos::core::ecs::SystemFetcher<cubos::engine::Toolbox &> &>(cubos::core::ecs::SystemFetcher<cubos::engine::Assets &> & <fetchers_0>, cubos::core::ecs::SystemFetcher<`anonymous namespace'::SelectedPaletteInfo &> & <fetchers_1>, cubos::core::ecs::SystemFetcher<cubos::engine::RenderPalette &> & <fetchers_2>, cubos::core::ecs::SystemFetcher<cubos::engine::Toolbox &> & <fetchers_3>) Line 176 (c:\Users\Joaod\Desktop\cubos\core\include\cubos\core\ecs\system\system.hpp:176)
tesseratos.exe!std::invoke<`cubos::core::ecs::System<void>::SystemFunction<`tesseratos::voxelPaletteEditorPlugin'::`2'::<lambda_2>,cubos::engine::Assets &,`anonymous namespace'::SelectedPaletteInfo &,cubos::engine::RenderPalette &,cubos::engine::Toolbox &>::call'::`2'::<lambda_1>,cubos::core::ecs::SystemFetcher<cubos::engine::Assets &> &,cubos::core::ecs::SystemFetcher<`anonymous namespace'::SelectedPaletteInfo &> &,cubos::core::ecs::SystemFetcher<cubos::engine::RenderPalette &> &,cubos::core::ecs::SystemFetcher<cubos::engine::Toolbox &> &>(cubos::core::ecs::System<void>::SystemFunction<`tesseratos::voxelPaletteEditorPlugin'::`2'::<lambda_2>,cubos::engine::Assets &,`anonymous namespace'::SelectedPaletteInfo &,cubos::engine::RenderPalette &,cubos::engine::Toolbox &>::call::__l2::<lambda_1> && _Obj, cubos::core::ecs::SystemFetcher<cubos::engine::Assets &> & _Arg1, cubos::core::ecs::SystemFetcher<`anonymous namespace'::SelectedPaletteInfo &> & <_Args2_0>, cubos::core::ecs::SystemFetcher<cubos::engine::RenderPalette &> & <_Args2_1>, cubos::core::ecs::SystemFetcher<cubos::engine::Toolbox &> & <_Args2_2>) Line 1714 (c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\include\type_traits:1714)
tesseratos.exe!std::_Apply_impl<`cubos::core::ecs::System<void>::SystemFunction<`tesseratos::voxelPaletteEditorPlugin'::`2'::<lambda_2>,cubos::engine::Assets &,`anonymous namespace'::SelectedPaletteInfo &,cubos::engine::RenderPalette &,cubos::engine::Toolbox &>::call'::`2'::<lambda_1>,std::tuple<cubos::core::ecs::SystemFetcher<cubos::engine::Assets &>,cubos::core::ecs::SystemFetcher<`anonymous namespace'::SelectedPaletteInfo &>,cubos::core::ecs::SystemFetcher<cubos::engine::RenderPalette &>,cubos::core::ecs::SystemFetcher<cubos::engine::Toolbox &>> &,0,1,2,3>(cubos::core::ecs::System<void>::SystemFunction<`tesseratos::voxelPaletteEditorPlugin'::`2'::<lambda_2>,cubos::engine::Assets &,`anonymous namespace'::SelectedPaletteInfo &,cubos::engine::RenderPalette &,cubos::engine::Toolbox &>::call::__l2::<lambda_1> && _Obj, std::tuple<cubos::core::ecs::SystemFetcher<cubos::engine::Assets &>,cubos::core::ecs::SystemFetcher<`anonymous namespace'::SelectedPaletteInfo &>,cubos::core::ecs::SystemFetcher<cubos::engine::RenderPalette &>,cubos::core::ecs::SystemFetcher<cubos::engine::Toolbox &>> & _Tpl, std::integer_sequence<unsigned __int64,0,1,2,3> __formal) Line 1076 (c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\include\tuple:1076)
tesseratos.exe!std::apply<`cubos::core::ecs::System<void>::SystemFunction<`tesseratos::voxelPaletteEditorPlugin'::`2'::<lambda_2>,cubos::engine::Assets &,`anonymous namespace'::SelectedPaletteInfo &,cubos::engine::RenderPalette &,cubos::engine::Toolbox &>::call'::`2'::<lambda_1>,std::tuple<cubos::core::ecs::SystemFetcher<cubos::engine::Assets &>,cubos::core::ecs::SystemFetcher<`anonymous namespace'::SelectedPaletteInfo &>,cubos::core::ecs::SystemFetcher<cubos::engine::RenderPalette &>,cubos::core::ecs::SystemFetcher<cubos::engine::Toolbox &>> &>(cubos::core::ecs::System<void>::SystemFunction<`tesseratos::voxelPaletteEditorPlugin'::`2'::<lambda_2>,cubos::engine::Assets &,`anonymous namespace'::SelectedPaletteInfo &,cubos::engine::RenderPalette &,cubos::engine::Toolbox &>::call::__l2::<lambda_1> && _Obj, std::tuple<cubos::core::ecs::SystemFetcher<cubos::engine::Assets &>,cubos::core::ecs::SystemFetcher<`anonymous namespace'::SelectedPaletteInfo &>,cubos::core::ecs::SystemFetcher<cubos::engine::RenderPalette &>,cubos::core::ecs::SystemFetcher<cubos::engine::Toolbox &>> & _Tpl) Line 1087 (c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\include\tuple:1087)
tesseratos.exe!cubos::core::ecs::System<void>::SystemFunction<`tesseratos::voxelPaletteEditorPlugin'::`2'::<lambda_2>,cubos::engine::Assets &,`anonymous namespace'::SelectedPaletteInfo &,cubos::engine::RenderPalette &,cubos::engine::Toolbox &>::call(const cubos::core::ecs::SystemContext & ctx) Line 176 (c:\Users\Joaod\Desktop\cubos\core\include\cubos\core\ecs\system\system.hpp:176)
cubos-core.dll!cubos::core::ecs::System<void>::run(const cubos::core::ecs::SystemContext & ctx) Line 51 (c:\Users\Joaod\Desktop\cubos\core\include\cubos\core\ecs\system\system.hpp:51)
cubos-core.dll!cubos::core::ecs::Schedule::run(cubos::core::ecs::SystemRegistry & registry, cubos::core::ecs::SystemContext & context, cubos::core::ecs::Schedule::NodeId nodeId) Line 172 (c:\Users\Joaod\Desktop\cubos\core\src\ecs\system\schedule.cpp:172)
cubos-core.dll!cubos::core::ecs::Schedule::run(cubos::core::ecs::SystemRegistry & registry, cubos::core::ecs::SystemContext & context) Line 160 (c:\Users\Joaod\Desktop\cubos\core\src\ecs\system\schedule.cpp:160)
cubos-core.dll!cubos::core::ecs::Cubos::update() Line 350 (c:\Users\Joaod\Desktop\cubos\core\src\ecs\cubos.cpp:350)
cubos-core.dll!cubos::core::ecs::Cubos::run() Line 378 (c:\Users\Joaod\Desktop\cubos\core\src\ecs\cubos.cpp:378)
tesseratos.exe!main(int argc, char * * argv) Line 62 (c:\Users\Joaod\Desktop\cubos\tools\tesseratos\src\tesseratos\main.cpp:62)
tesseratos.exe!invoke_main() Line 79 (d:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:79)
tesseratos.exe!__scrt_common_main_seh() Line 288 (d:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
tesseratos.exe!__scrt_common_main() Line 331 (d:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:331)
@jdbaracho jdbaracho added A-Engine B-Assets C-Bug C-Crash S-Triage Issues whose priority still has to be figured out labels Dec 7, 2024
@RiscadoA RiscadoA added this to the 0.6 milestone Dec 7, 2024
@RiscadoA RiscadoA removed C-Bug S-Triage Issues whose priority still has to be figured out labels Dec 7, 2024
@RiscadoA RiscadoA self-assigned this Dec 7, 2024
@RiscadoA RiscadoA added the P-Urgent This issue is a big priority, and it would be good to close it ASAP label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Engine B-Assets C-Crash P-Urgent This issue is a big priority, and it would be good to close it ASAP
Projects
None yet
Development

No branches or pull requests

2 participants