Ticket #292 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

Handle model-loading failures gracefully

Reported by: Philip Owned by:
Priority: Should Have Milestone:
Component: Core engine Keywords:
Cc:

Description

If a model fails to load (e.g. the Collada library wasn't compiled), the code currently prints an error message and returns null and then the game crashes a bit later. It should be handled better, e.g. not crashing and not rendering the unit, or (preferably) replacing the model with some kind of 'error' mesh so the problem is clearly visible.

Change History

comment:1 Changed 3 years ago by Philip

  • Status changed from new to closed
  • Resolution set to fixed

I think it doesn't crash any more, with the new simulation system.

comment:2 Changed 3 years ago by anonymous

  • Milestone Open Source Release deleted

Milestone Open Source Release deleted

Note: See TracTickets for help on using tickets.