armory3d / armory3d/armory

Krom Crashes with error while using world Sky Texture + Shadow Map Atlasing.

Open
#2,865 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
3.3k
Forks
353
Avg merge
3d 16h
Merged PRs (30d)
1

Description

Thank you for contributing to Armory!

**Description**
Krom Crashes while using world Sky Texture and Shadow Map Atlasing, with the following output at the console:

```bash
Uniform envmapStrength not found.
double free or corruption (!prev)
```

**To Reproduce**
Link a `Sky Texture` node to `Color` in the World panel and check the `Shadow Map Atlasing` box. Then run it with krom selected as the build runtime.

**Expected behavior**
No error. No crash.

**System**
Blender: 3.5 and 3.3.6
Armory: 2023.4.0
OS: Linux
Graphics card: Gigabyte 3060 OC 12G

**Test File**

I would upload an example blend file, if github allowed uploading blend files this way.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in Blender 3.5 or 3.3.6 with a Sky Texture linked to World > Color, Shadow Map Atlasing enabled, and Krom selected as the runtime. Start by checking the console output for the missing uniform and memory error; done means the same scene runs without an error or crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
blender
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.