| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0006380 | Spring engine | Unit Scripting | public | 2020-04-14 23:05 | 2020-07-04 16:56 | ||||
| Reporter | PicassoCT_ | ||||||||
| Assigned To | |||||||||
| Priority | urgent | Severity | crash | Reproducibility | always | ||||
| Status | closed | Resolution | no change required | ||||||
| Product Version | 104.0 +git | ||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0006380: 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. | ||||||||
| Tags | texture size limit | ||||||||
| Checked infolog.txt for Errors | Yes | ||||||||
| Attached Files |
| ||||||||
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 | |


