Skip to content

BUG - Client crashes on windows  #72

Description

@Cavonstavant

Client crashes on windows inside ecs::system::draw at line 38: sprite.setTextureRect(animations[i].value().getFrameRect());

getFrameRect is called while _animFrames::_currentFrame is uninitialized

 	ucrtbased.dll!00007ffea489afec()	Unknown
 	ucrtbased.dll!00007ffea489af37()	Unknown
 	r-type_client.exe!std::vector<ecs::component::Animated::AnimFrame,std::allocator<ecs::component::Animated::AnimFrame>>::operator[](const unsigned __int64 _Pos) Line 1757	C++
>	r-type_client.exe!ecs::component::Animated::getFrameRect() Line 65	C++
 	r-type_client.exe!ecs::systems::<lambda_4>::operator()(ecs::World & world) Line 38	C++
 	[External Code]	
 	r-type_client.exe!ecs::World::runSystems() Line 39	C++
 	r-type_client.exe!ecs::Engine::run() Line 74	C++
 	r-type_client.exe!main() Line 146	C++
 	[External Code]	

Activity

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions