Link to .capx file (required!):
dropbox.com/s/mhslnhtjfru29ln/pathfindingbug.capx
dropbox.com/s/65itx61d26hv06x/pathfindingbug142.capx
dropbox.com/s/fvfl63olfmhblhe/plugins.rar
Notes: you need to download the astar plugin, moveto and pathfinder behavior. (download above plugins.rar)
Steps to reproduce:
1.If you dont have those plugins mentioned download the plugins.rar and paste the content inside the respective directory in the exporters folder.
2. Download the capx and debug it, go to profile section to check the "attack, enemies & HUD" group CPU usage.
3. start to walk with the character with arrows or WASD
4. group will start to get very high cpu usage (will vary from 20 to 300%) and will freeze sometimes.
5. You can download the pathfindingbug142.capx to check the same events and condition saved in 142 version running smooth without any problem or freezes.
Observed result:
High cpu usage while walking with character, if you don't move, still the CPU usage is high and not correctly compared to 142 version for example.
Expected result:
Testing it in old versions like 142 (download the 142 version above) and olders it won't cause any freeze or have high CPU usages, this is a basic pathfinding with simple functions, in my official project it has a lot of other things implemented and still it runs smoothly in 142 version or older.
Browsers affected:
Chrome: yes
Firefox:
Internet Explorer: yes
Operating system & service pack:
Win7 64bit
Construct 2 version:
144.2 version beta