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

[Animation] Crash on launch #240

Open
grogancolin opened this issue Jan 12, 2015 · 3 comments
Open

[Animation] Crash on launch #240

grogancolin opened this issue Jan 12, 2015 · 3 comments
Assignees

Comments

@grogancolin
Copy link

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)
@PxlBuzzard PxlBuzzard changed the title Trying to get the sample game to work on Windows [Animation] Crash on launch Jan 13, 2015
@ColdenCullen
Copy link
Member

You definitely put this in the right place, thanks. I know @tmr9209 was trying to do more to track down errors in his new animation system, and this should help him track some stuff stuff down.

@grogancolin
Copy link
Author

I played around with this more this evening, and after compiling on the v0.12.0 branch, this issue goes away and I can launch the sample game, so seems to be an issue with some different code between 0.12.0 and master.

@ColdenCullen
Copy link
Member

Oooh, you know what it was? 0470280. It just never made it back into develop.

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

No branches or pull requests

4 participants