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

Texture profiles, Rgba etc2 - errors on startup #6377

Closed
e1e5en-gd opened this issue Feb 3, 2022 · 2 comments · Fixed by #8531 · May be fixed by #6579
Closed

Texture profiles, Rgba etc2 - errors on startup #6377

e1e5en-gd opened this issue Feb 3, 2022 · 2 comments · Fixed by #8531 · May be fixed by #6579
Labels
bug Something is not working as expected editor Issues related to the Defold editor engine Issues related to the Defold engine texture compression Issue related to texture compression windows Issue related to the Windows platform

Comments

@e1e5en-gd
Copy link

e1e5en-gd commented Feb 3, 2022

Describe the bug (REQUIRED)
When setting the Rgba etc2 format in the Texture profiles configuration file, the project gives errors on startup.

To Reproduce (REQUIRED)

  1. Create a new project from the desktop template;
  2. Create a configuration file Texture profiles;
  3. Specify Rgba etc2 format (all other default settings);
  4. Specify this configuration file in the project settings;
  5. We start the project.

Expected behavior (REQUIRED)
Run the project using the specified settings.

Defold version (REQUIRED):

  • Version 1.2.192 beta
  • Editor SHA1: 84a9c89

Platforms (REQUIRED):

  • OS: Windows 11
  • Device: Lenovo Ideapad Gaming 3

Minimal repro case project (OPTIONAL):
issue_texture_profiler.zip

Additional context (OPTIONAL):
Console errors:

INFO:ENGINE: Defold Engine 1.2.192 (84a9c89)
INFO:ENGINE: Loading data from: build/default
INFO:ENGINE: Initialised sound device 'default'
Assertion failed: i < m_Count, file D:\a\defold\defold\tmp\dynamo_home\include\graphics/graphics_ddf.h, line 111
INFO:CRASH: Successfully wrote Crashdump to file: C:\Users\e1e5e\AppData\Roaming\Defold/_crash
ERROR:CRASH: CALL STACK:
ERROR:CRASH:  0 0x7FF7744E2AC0 dmCrash::GenerateCallstack D:\a\defold\defold\engine\crash\src\backtrace_win32.cpp:142
ERROR:CRASH:  1 0x7FF7745AA0C4 raise minkernel\crts\ucrt\src\appcrt\misc\signal.cpp:547
ERROR:CRASH:  2 0x7FF7745AA690 abort minkernel\crts\ucrt\src\appcrt\startup\abort.cpp:71
ERROR:CRASH:  3 0x7FF77454ED10 common_assert_to_stderr<wchar_t> minkernel\crts\ucrt\src\appcrt\startup\assert.cpp:186
ERROR:CRASH:  4 0x7FF77454F494 _wassert minkernel\crts\ucrt\src\appcrt\startup\assert.cpp:443
ERROR:CRASH:  5 0x7FF77420D7D0 dmGameSystem::AcquireResources D:\a\defold\defold\engine\gamesys\src\gamesys\resources\res_texture.cpp:166
ERROR:CRASH:  6 0x7FF77420DF70 dmGameSystem::ResTextureCreate D:\a\defold\defold\engine\gamesys\src\gamesys\resources\res_texture.cpp:264
ERROR:CRASH:  7 0x7FF7741CC150 dmResource::DoGet D:\a\defold\defold\engine\resource\src\resource.cpp:1129
ERROR:CRASH:  8 0x7FF7741CDE10 dmResource::Get D:\a\defold\defold\engine\resource\src\resource.cpp:1227
ERROR:CRASH:  9 0x7FF774214110 dmGameSystem::AcquireResources D:\a\defold\defold\engine\gamesys\src\gamesys\resources\res_textureset.cpp:26
ERROR:CRASH: 10 0x7FF7742148D0 dmGameSystem::ResTextureSetCreate D:\a\defold\defold\engine\gamesys\src\gamesys\resources\res_textureset.cpp:129
ERROR:CRASH: 11 0x7FF7741CC150 dmResource::DoGet D:\a\defold\defold\engine\resource\src\resource.cpp:1129
ERROR:CRASH: 12 0x7FF7741CDE10 dmResource::Get D:\a\defold\defold\engine\resource\src\resource.cpp:1227
ERROR:CRASH: 13 0x7FF774217EA0 dmGameSystem::AcquireResources D:\a\defold\defold\engine\gamesys\src\gamesys\resources\res_sprite.cpp:31
ERROR:CRASH: 14 0x7FF7742180C0 dmGameSystem::ResSpriteCreate D:\a\defold\defold\engine\gamesys\src\gamesys\resources\res_sprite.cpp:96
ERROR:CRASH: 15 0x7FF7741CC150 dmResource::DoGet D:\a\defold\defold\engine\resource\src\resource.cpp:1129
ERROR:CRASH: 16 0x7FF7741CDE10 dmResource::Get D:\a\defold\defold\engine\resource\src\resource.cpp:1227
ERROR:CRASH: 17 0x7FF774195940 dmGameObject::AcquireResources D:\a\defold\defold\engine\gameobject\src\gameobject\res_gameobject.cpp:64
ERROR:CRASH: 18 0x7FF774195FB0 dmGameObject::ResGameObjectCreate D:\a\defold\defold\engine\gameobject\src\gameobject\res_gameobject.cpp:164
ERROR:CRASH: 19 0x7FF7741CC150 dmResource::DoGet D:\a\defold\defold\engine\resource\src\resource.cpp:1129
ERROR:CRASH: 20 0x7FF7741CDE10 dmResource::Get D:\a\defold\defold\engine\resource\src\resource.cpp:1227
ERROR:CRASH: 21 0x7FF774196720 dmGameObject::AcquireResources D:\a\defold\defold\engine\gameobject\src\gameobject\res_collection.cpp:60
ERROR:CRASH: 22 0x7FF7741972F0 dmGameObject::ResCollectionCreate D:\a\defold\defold\engine\gameobject\src\gameobject\res_collection.cpp:259
ERROR:CRASH: 23 0x7FF7741CC150 dmResource::DoGet D:\a\defold\defold\engine\resource\src\resource.cpp:1129
ERROR:CRASH: 24 0x7FF7741CDE10 dmResource::Get D:\a\defold\defold\engine\resource\src\resource.cpp:1227
ERROR:CRASH: 25 0x7FF77417EA40 dmEngine::Init D:\a\defold\defold\engine\engine\src\engine.cpp:1207
ERROR:CRASH: 26 0x7FF774183280 dmEngineCreate D:\a\defold\defold\engine\engine\src\engine.cpp:1967
ERROR:CRASH: 27 0x7FF774183650 dmEngine::RunLoop D:\a\defold\defold\engine\engine\src\engine_loop.cpp:54
ERROR:CRASH: 28 0x7FF77417C0C0 engine_main D:\a\defold\defold\engine\engine\src\engine_main.cpp:146
ERROR:CRASH: 29 0x7FF774539314 __scrt_common_main_seh d:\agent\_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
ERROR:CRASH: 30 0x7FF92D9554D0 BaseThreadInitThunk <unknown>:0
ERROR:CRASH: 31 0x7FF92F004830 RtlUserThreadStart <unknown>:0
ERROR:CRASH: 

Crashdump to file: _crash.zip

@e1e5en-gd e1e5en-gd added the bug Something is not working as expected label Feb 3, 2022
@e1e5en-gd e1e5en-gd changed the title Texture profiles, Rgba etc2 - project not working Texture profiles, Rgba etc2 - errors on startup Feb 3, 2022
@britzl britzl added texture compression Issue related to texture compression windows Issue related to the Windows platform labels Feb 3, 2022
@britzl britzl added this to To do in 1.3.1 via automation Feb 3, 2022
@britzl britzl removed this from To do in 1.3.1 Mar 21, 2022
@britzl britzl added this to To do in 1.3.2 via automation Mar 21, 2022
@JCash
Copy link
Contributor

JCash commented Mar 29, 2022

Since we don't support this format, I suggest we remove the enum altogether?

What we would like though, is to support custom (user) plugins for compressing textures.
I think this issue should fall into that category.

What do you think @britzl ?

@britzl
Copy link
Contributor

britzl commented Mar 29, 2022

I agree on both points. Plugins for texture compression would be pretty nice and in line with similar tasks we've worked on recently.

@britzl britzl moved this from To do to In progress in 1.3.2 Mar 31, 2022
@britzl britzl removed this from In progress in 1.3.2 Apr 19, 2022
@britzl britzl added this to To do in 1.3.3 via automation Apr 19, 2022
@britzl britzl moved this from To do to In progress in 1.3.3 May 6, 2022
@britzl britzl added engine Issues related to the Defold engine editor Issues related to the Defold editor labels May 6, 2022
@britzl britzl removed this from In progress in 1.3.3 May 16, 2022
@britzl britzl added this to To do in 1.3.4 via automation May 16, 2022
@britzl britzl moved this from To do to In progress in 1.3.4 May 16, 2022
@britzl britzl moved this from In progress to To do in 1.3.4 May 16, 2022
@britzl britzl removed this from To do in 1.3.4 Jun 20, 2022
@britzl britzl added this to To Do in Editor Backlog via automation Jun 20, 2022
Editor Backlog automation moved this from To Do to Done Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working as expected editor Issues related to the Defold editor engine Issues related to the Defold engine texture compression Issue related to texture compression windows Issue related to the Windows platform
Projects
Status: Done
3 participants