EverNewJoy / VictoryPlugin

Rama's Victory BP Plugin
MIT License
867 stars 256 forks source link

Added RemoveFromStreamingLevels function #21

Closed solerbartomeu closed 7 years ago

solerbartomeu commented 7 years ago

Added RemoveFromStreamingLevels function to allow the unloading of level instances across network replicating the level instance stream info.

I don't know how to handle well the behaviour in Editor as that adds UEDPIE\<ClientID> to the cached package name so for now I have removed that part of the string when we are playing in editor to be able to find the package name. It works, but I don't know if that is the best way to do it.

EverNewJoy commented 7 years ago

Hi there @solerbartomeu !

Thanks for this lovely offering!

What is your forum name so I can send you your badge once I make this live?

I enjoyed very much your additional effort in using the regex solution to support infinite pie renamings.

Nice work!

Rama

PS: I will be making this live in a few days so feel free to do any further tweaking here b4 then :)

solerbartomeu commented 7 years ago

I am draquod at the Unreal Engine Forums. I remembered that there is one case that I have not tried and it is using a dedicated server in Play in Editor so I will try that to ensure everything works.

solerbartomeu commented 7 years ago

I have tested it and it also works using dedicated server.

solerbartomeu commented 7 years ago

I have changed the code to use NetworkRemapPath instead of the regex match as I did not know that function existed.

EverNewJoy commented 7 years ago

oooh nice! I will be integrating soon :)

Thanks for sharing!

Rama