Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - brucezhu2018

Pages: [1]
Playmaker Announcements / Re: Unity 5.6 Beta Patch
« on: February 23, 2017, 05:31:17 PM »
Having some serious issues with Unity5.6b9 which we're being forced to use because of the Daydream support.

Our playmaker globals aren't loading, the inspector when on the resources/playmakerglobals asset has 'The associated script can not be loaded'. Have tried the attached package which doesn't help.

Any tips on what we can do to fix this? Readding all our globals is going to take a while..
I have the same  issue too  in  5.6b9, I  hope  it can  be  solved  soon....

Hi coxy17, I do have the similar issue,but mine is made with physics2D, so you can refer to may post:
My project is very simple 2D shooting game , for the problem mentioned above, I rebuild a new scene for the test:
I only build an spawn point to shoot bullet every second, the bullet is come from the core game kit pool boss, the bullet use the rigidbody2d and fsm, the bullet is triggered by the OnTriggerEnter2D event when hit the collider tagged with enemy then the bullet will despawn to the poolboss.
I have profile my project in android device, there are still some Gc Alloc  mainly locate in the physics2d.onTriggerEnter2D, but the unity profiler only show N/A object in the right panel when I am profiling on device, so I can not tract what is the exact reason for the garbage collection.

I have similar  issue  as well.

Playmaker Help / Re: The Garbage Collection of Physics2D of bullets?
« on: January 17, 2017, 10:40:38 PM »
Anybody  can help?Thanks!

Playmaker Help / Re: The Garbage Collection of Physics2D of bullets?
« on: January 14, 2017, 07:28:53 PM »
If anybody can help I will be appreciated!:-)

Playmaker Help / The Garbage Collection of Physics2D of bullets?
« on: January 14, 2017, 09:32:56 AM »
Hi, everybody,I am a newbie of playmaker, I am just working on a shooting game made with playmaker. But I find my game is always lag from time to time, so I used the unity profiler to check the issue(on editor mode,for on my android device I can not get the object name instead by N/A), then I found the lag spike is caused mainly by the Garbage Collection, then I found the two lagest amount of GC Alloc when game is running, but I can not figer out the reasons.
You can refer to the screenshots below.
I use the unity3d 5.5f3  and playmaker1.8.3.
The first one of the Physics2d which I used to the bullet detect with trigger2d event, if the bullet hit the enemy, then I send events to other fsms for despawning the bullet and spawn hit effect and floating text(I use the Core Game Kit pool boss).
As the second screenshot shown, the Destroy->  AttributeHelperEngine.GetRequiredComponents  I don't know where it come from.
Could you please give me some hints about them? Thanks!

Pages: [1]