[144.2] Pathfinding memory leak problem

Bugs will be moved here once resolved.

Post » Wed Sep 18, 2013 4:23 am

Link to .capx file (required!):
https://www.dropbox.com/s/mhslnhtjfru29ln/pathfindingbug.capx

https://www.dropbox.com/s/65itx61d26hv06x/pathfindingbug142.capx

https://www.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
B
32
S
6
G
5
Posts: 437
Reputation: 6,119

Post » Wed Sep 18, 2013 4:33 am

Scirra won't fix this if is related to 3rd party plugin.
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Thu Sep 19, 2013 4:54 pm

Closing, as per the bug report guidelines we cannot accept bug reports depending on third party plugins. The problem could be caused by one of the third party plugins which we cannot provide support for. There have been no other reports of issues with the official Pathfinding behavior so far.
Scirra Founder
B
398
S
236
G
88
Posts: 24,428
Reputation: 194,625

Post » Thu Sep 19, 2013 11:16 pm

I will when have some time try to recreate it using only official plugins then but still would be a good idea to check at last... the problem is occuring because of C2 not the plugins, that's why I made 2 versions of the same bug one saved in 142 and the other in the newest one, one works and the other one don't.
B
32
S
6
G
5
Posts: 437
Reputation: 6,119

Post » Fri Sep 20, 2013 12:37 am

You might remove pathfinder plugin and let's see if it doesn't leak.
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Sat Sep 21, 2013 7:55 am

Did the same exame using only the official pathfinding and still it's appearing problems, check my new topic, thanks

http://www.scirra.com/forum/topic76140_post456125.html#456125
B
32
S
6
G
5
Posts: 437
Reputation: 6,119


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 4 guests