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

[4.0] Editor lightmap softlock upon re-importing an OBJ #57131

Closed
YellowAfterlife opened this issue Jan 24, 2022 · 3 comments · Fixed by #77089
Closed

[4.0] Editor lightmap softlock upon re-importing an OBJ #57131

YellowAfterlife opened this issue Jan 24, 2022 · 3 comments · Fixed by #77089

Comments

@YellowAfterlife
Copy link

Godot version

v4.0.alpha1.official [31a7ddb]

System information

Windows 10, Vulkan, 1660Ti

Issue description

In my attempts to attach a material to an OBJ exported from Qodot using the last tab of Import dialog I have managed to get the editor to reliably softlock upon opening the scene,

ERROR: Condition "!lm" is true. Returning: false
   at: lightmap_is_interior (servers/rendering/renderer_rd/renderer_storage_rd.cpp:7493)
ERROR: Condition "!lm" is true. Returning: AABB()
   at: lightmap_get_aabb (servers/rendering/renderer_rd/renderer_storage_rd.cpp:7499)
ERROR: Condition "!lm" is true. Returning: false
   at: lightmap_is_interior (servers/rendering/renderer_rd/renderer_storage_rd.cpp:7493)
ERROR: Condition "!lm" is true. Returning: AABB()
   at: lightmap_get_aabb (servers/rendering/renderer_rd/renderer_storage_rd.cpp:7499)

Steps to reproduce

Open the attached project, open TestScene

Minimal reproduction project

QodotTest4.zip

@YellowAfterlife YellowAfterlife changed the title Editor softlock upon re-importing [4.0] Editor softlock upon re-importing an OBJ Jan 24, 2022
@YellowAfterlife YellowAfterlife changed the title [4.0] Editor softlock upon re-importing an OBJ [4.0] Editor lightmap softlock upon re-importing an OBJ Jan 24, 2022
@Calinou
Copy link
Member

Calinou commented Jan 24, 2022

@YellowAfterlife Can you reproduce this with the same OBJ mesh and import options in 3.4.2?

@Calinou Calinou added this to the 4.0 milestone Jan 24, 2022
@YellowAfterlife
Copy link
Author

YellowAfterlife commented Jan 25, 2022

@Calinou I'm not sure if this can be done in 3.4.2 since the advanced import menu (with ability to set materials per-mesh, which is how I achieved this problem) was introduced after that

@Setadokalo
Copy link
Contributor

Setadokalo commented Oct 26, 2022

I'm encountering a similar error myself, using the tbloader plugin and a lightmap node. For me, the error occurs when I bake the lightmap, save and close the scene, and re-open it (the log begins flooding with Condition "!lm" is true errors), and if I close the project entirely and re-open it the editor freezes while opening, still flooding the log.

Attempting to recreate the error without a quake .map file loader (which qodot and tbloader are) by using a .glb version created through blender, I haven't encountered the error so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants