[Plugin] Object Pool Component

Thanks for the reply - I have done those, but on closer inspection:

  1. The BPProjectile is spawned by the gun has a projectile speed of 0 even though its set correctly on spawn and appears to be being passed using a PrintScreen message. (The ground ones were fine) so can’t use it.
  2. The BP Widget with a score is also spawned but it’s invisible.

Both seem to be an issue when a generic BP type of actor is **used more than once **in a level, in the demo app It works ok but the actors are not the same as I’m trying to do - unfortunately I’m having to back out all those changes and go back with spawn on-demand.

I’m not sure what the difference between the shared pool and pool are. Either doesn’t fix my issue.

Hello,
My name is Chiaka.
I purchased your plugin quiet while now but just recently I started Testing it . Basically it not working at all . I have gone through your forum Documentation and I have done exactly what was
explained there but the result is that the Actor containing the Pool component is Spawning Correctly the Actor derived from the Pool Actor Parent class with Pool Projectile component attached to it. But the Spawned Actor Does not move at all

very annoying. I was even planning for a refund but I decided to contact you first and see your response. Thanks for your reply.

[SIZE=22px]Actor That Does the Spawning:[/SIZE]

[SIZE=22px]The Actor That was spawned but not moving:

[/SIZE]

There’s no need to post same thing “everywhere” and send it to every email possible.
I got the review notification. I don’t know why you think 1 star is fair, anyways, you didn’t understand how to use the spline method properly;
There is a sample project you can download from here:

“100” speed for a spline path means it will move so fast you won’t even see the bullet.
You should actually do something like this instead (when spline is used):


“1.0” speed, the bullet will travel across the spline path in 1 second.
“2.0” speed, the bullet does the same in half a second.
“100” speed, you are basically teleporting the bullet.

***Hi I can’t find that Node /Function containing those variables. please could you show me where I can find it ? ***

"But As a professional, you could have provided a video tutorial that shows basic implementation at least. "

“Bullet Speed” is a property marked with “Exposed on Spawn” flag.
Epic have documentation for that:

The other struct pins, when it is disconnected you can right click it and do this:

Nodes can split structs to make it show each variable as a pin.
I just posted above a link with a project for you to see, I don’t know why a video would be any better than an actual project to show the nodes in use.

What Version of UE4 that Demo was Created Because I am using a UE4.23.3 for my Project ?.

There’s a 4.23 project here:
https://www.dropbox.com/s/etceqesbts0qyok/UE423_OBJPool_Demo.zip?dl=0​​​​​​​

OK. I have found the real issue my projectile Actor contains a “Default Scene root Component” and yours does not have it . After I remove the “Default Scene root Component” and let my Static Mesh Component not be a child of any component it starts to move. Wow, that was close. Thanks so much for your patience your response was professional and what a great plugin :slight_smile: keep it .

Good you reported because I had no idea either something like that could cause any issues.
Unreal is full of mysteries and gotchas :slight_smile:

Yeah Bro. Unreal Engine is Always Unreal, Scary and Strange. :slight_smile:

Wait for UE4.25 support.

https://forums.unrealengine.com/unreal-engine/marketplace/1467088-plugin-savior-2?p=1755827#post1755827

question before buying:

when using it to pool characters does it disable everything while its in the pool?
ai,collisions,animations,navmesh, ticks and etc?

so while the character in the pool expect of memory is cost nothing?

does it also handle reset them to default values?

Every component and tick are disabled.
AI and Navmesh are external elements.

You can use interface event ‘on return to pool’ to reset defaults.

Is there UE4.25 support yet? I can’t seem to spawn any object pool actors when upgrading my 4.23 project to 4.25…

You have to update the plugin to the 4.25 on Marketplace, if you use old source it won’t work because 4.25 is very different from 4.23 engine.

It says inside UE4 I have Object Pool Component 1.9.2 installed… is that the correct version for 4.25.1?

Yes, that’s latest version.
I have migrated projects from 4.24 without any problem, do your logs say anything?

[USER=“434”] XaVIeR[/USER] Can you please expose the Set Template Class so that we can set it via the blueprint? Also let me know if I can change the C++ code than build it with my project then put it back in the engine folder, if that would work?

I’ve never tried to do that.
Not sure if it’s a good idea.

You can move plugin source to project/Plugins folder and uninstall from Launcher, it’s safer for building source changes.