Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gameplay] Unit death #60

Open
ColdenCullen opened this issue May 3, 2014 · 3 comments
Open

[Gameplay] Unit death #60

ColdenCullen opened this issue May 3, 2014 · 3 comments
Assignees
Labels

Comments

@ColdenCullen
Copy link
Member

No description provided.

@PxlBuzzard PxlBuzzard changed the title Units Don't Die [Gameplay] Unit death May 6, 2014
@PxlBuzzard PxlBuzzard modified the milestone: Milestone 0.9.0 Aug 31, 2014
@liam-middlebrook
Copy link
Member

Fixed in 53915fd

@PxlBuzzard
Copy link
Member

Crash on death:

core.exception.AssertError@C:\D\dmd2\windows\bin\..\..\src\phobos\std\range.d(4120): range is smaller than amount of items to pop
----------------
0x0059A495 in _d_assert_msg
0x00457B2A in pure @safe dash.core.gameobject.GameObject[] std.algorithm.remove!(2, dash.core.gameobject.GameObject[], int).remove(dash.core.gameobject.GameObject[], int) at C:\D\dmd2\windows\bin\..\..\src\phobos\std\algorithm.d(8659)
0x0044D937 in void dash.core.gameobject.GameObject.removeChild(dash.core.gameobject.GameObject) at C:\Users\User\Documents\RobotGhosts\..\..\AppData\Roaming\dub\packages\dash-0.10.0\source\dash\core\gameobject.d(422)
0x00454746 in void dash.core.scene.Scene.removeChild(dash.core.gameobject.GameObject) at C:\Users\User\Documents\RobotGhosts\..\..\AppData\Roaming\dub\packages\dash-0.10.0\source\dash\core\scene.d(145)
0x0044BBED in void unit.Unit.update() at C:\Users\User\Documents\RobotGhosts\Scripts\unit.d(300)
0x0044CEDC in D4dash4core10gameobject10GameObject6updateMFZ14__foreachbody1MFKC8TypeInfoKC4dash10components9component9ComponentZi at C:\Users\User\Documents\RobotGhosts\..\..\AppData\Roaming\dub\packages\dash-0.10.0\source\dash\core\gameobject.d(233)

@PxlBuzzard PxlBuzzard reopened this Sep 23, 2014
@PxlBuzzard PxlBuzzard removed this from the Milestone 0.9.0 milestone Nov 17, 2014
@PxlBuzzard PxlBuzzard added the bug label Nov 17, 2014
@PxlBuzzard
Copy link
Member

We changed the default game type to units respawning rather than dying, so we don't get this issue during the regular gameplay experience anymore. However, I am leaving the issue open since we never solved the splicing bug, currently in unit.d#384.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants