HaxeFoundation / HaxeFoundation/hxcpp

GC Collect sometimes corrupts ObjectMap instances

Open
#679 8 comments 2 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
330
Forks
227
Avg merge
2d 16h
Merged PRs (30d)
18

Description

Sometimes after GC Collect ObjectMap instances become invalid due to its entities changing their hash values. Suddenly after GC, some objects stored in ObjectMap start to return different hash key than before GC event. We are getting this error since moving from Hxcpp 3.2.193 to 3.4.188. In our game engine, we really heavily on ObjectMap's for our entity component system.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.