View Issue Details

IDProjectCategoryView StatusLast Update
0006380Spring engineUnit Scriptingpublic2020-07-04 16:56
ReporterPicassoCT_ Assigned To 
PriorityurgentSeveritycrashReproducibilityalways
Status closedResolutionno change required 
Product Version104.0 +git 
Summary0006380: Spring crashes when loading png texture > 2048x2048
Description
Hi,
i discovered a problem when loading my game mosaic, with the newest engine version.

The engine will crash while loading a unit with a 4096 x 4096 texture assigned with the error presented in the infolog.

If the texture size is reduced- the game is started, and a unit is spawned that has 4096x4096 textures, that unit will not appear. Any other unit spawned after it- will throw a recursion error - indicating that the global inCreateUnit boolean flag is never rest, when the unit loading throws the error.


https://github.com/spring/spring/blob/0f3a85f770c869dfe240b023507dec78ceef230d/rts/Lua/LuaSyncedCtrl.cpp#L1246
Steps To Reproduce

Join the server of Bourne2Chase. Add a prometheus AI. Start the game.
Tagstexture size limit
Attached Files
infolog-1.txt (Attachment missing)
Checked infolog.txt for ErrorsYes

Activities

Kloot

2020-07-04 16:56

developer   ~0020442

another instance of 0006373

Issue History

Date Modified Username Field Change
2020-04-14 23:05 PicassoCT_ New Issue
2020-04-14 23:05 PicassoCT_ File Added: infolog-1.txt
2020-04-14 23:05 PicassoCT_ Tag Attached: texture size limit
2020-07-04 16:56 Kloot Status new => closed
2020-07-04 16:56 Kloot Resolution open => no change required
2020-07-04 16:56 Kloot Note Added: 0020442