godotengine / godotengine/godot
Editor Crash when import this image
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
v4.1.stable.mono.official [970459615]
v4.2.1.stable.mono.official [b09f793f5]
### System information
Godot v4.2.1.stable.mono - macOS 14.3.1 - Vulkan (Mobile) - integrated Apple M2 Max - Apple M2 Max (12 Threads)
### Issue description
Image cause asset import crash. See this test project `res://Asset/Shadow Of Storms 159x53.png`.
### Steps to reproduce
### Minimal reproduction project (MRP)
[AssetTest.zip](https://github.com/godotengine/godot/files/14622421/AssetTest.zip)
Contributor guide
Research direction
Start by opening the attached AssetTest.zip in Godot and importing res://Asset/Shadow Of Storms 159x53.png on the reported macOS/Vulkan setup. Trace the editor's asset-import path while reproducing the crash; done means the image imports without crashing the editor, with a regression test if the relevant test location is identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100