Skip to content

[Animation] Crash on launch #240

@grogancolin

Description

@grogancolin

Hi there,

Not sure if this is more suited to the Sample-Game repo so close if you think it is.

I'm having trouble getting the Sample game to run on windows. It initialises the window and then dies. This is the output from the console (This is the latest Dash code).

Thanks.

Sample-Dash-Game\Binaries>sample-dash-game.exe
trace: Profiler init time:                      8 hnsecs
trace: Config init time:                        1 ms, 226 ╬╝s, and 2 hnsecs
trace: Logger init time:                        51 ╬╝s and 2 hnsecs
trace: Input init time:                 221 ╬╝s and 4 hnsecs
trace: Could not find icon.bmp in Textures folder!
trace: vsync disabled!
trace: ../Shaders does not exist.
trace: Graphics init time:                      136 ms, 346 ╬╝s, and 7 hnsecs
trace: ../Animation does not exist.
trace: Assets init time:                        123 ms, 486 ╬╝s, and 5 hnsecs
trace: Audio init time:                 5 ms, 203 ╬╝s, and 1 hnsec
trace: Prefabs init time:                       421 ╬╝s and 7 hnsecs
trace: UI init time:                    4 ms, 47 ╬╝s, and 2 hnsecs
Listening for HTTP requests on ::1:8008
Listening for HTTP requests on 127.0.0.1:8008
trace: Editor init time:                        105 ╬╝s and 1 hnsec
trace: Initializing TestGame...
info: Init RotateThing X: 5.5 Color: White
trace: UI File: uitest.html
trace: Game init time:                  2 ms, 228 ╬╝s, and 9 hnsecs
core.exception.RangeError@..\Dash\source\dash\components\animation.d(76): Range violation
----------------
0x00617C14 in _d_arraybounds
0x0049B155 in void dash.components.animation.Animation.update() at c:\Users\Colin\workspace\Sample-Dash-Game\..\Dash\source\dash\components\animation.d(76)
0x0049719C in D4dash4core10gameobject10GameObject6updateMFZ14__foreachbody1MFKC14TypeInfo_ClassKC4dash10components9component9ComponentZi at
c:\Users\Colin\workspace\Sample-Dash-Game\..\Dash\source\dash\core\gameobject.d(309)
core.exception.InvalidMemoryOperationError@(0)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions