Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working in packaged game. #29

Closed
seddonmb opened this issue Apr 30, 2019 · 4 comments
Closed

Not working in packaged game. #29

seddonmb opened this issue Apr 30, 2019 · 4 comments
Assignees
Labels
Bug Something isn't working To Be Reproduced Has not been reproduced
Milestone

Comments

@seddonmb
Copy link

Attempts to save always crash, but only in a packaged game. works fine in the Editor.

4.21.2
plugin ver 1.2

@seddonmb seddonmb added Bug Something isn't working To Be Reproduced Has not been reproduced labels Apr 30, 2019
@muit
Copy link
Member

muit commented May 1, 2019

Hi @seddonmb is this crash the same as #30?

If not, could you provide us with a log?
Thanks

@seddonmb
Copy link
Author

seddonmb commented May 4, 2019 via email

@kbbits
Copy link

kbbits commented Jun 10, 2019

Rather than opening a new issue, I'm commenting here.
I've created a project that you can reproduce this issue as well as issues: #25 , #30 & #34.
https://github.com/kbbits/SaveExtentionTest_2
Note: this project has C++ code -- just a few structs for DataTable use.

This particular issue is now a roadblock for progress in my project.
To repro #29 :

  • clone git project, open it in UE4 editor. (let it build, etc.)
  • Set SaveExtention preferences to:
    -- Uncheck Auto save, Uncheck Auto load. Check Debug option in advanced prefs.
    -- Set all three sync options to "Only Synch".
  • Package project. In my tests it was for Windows 64-bit.
  • After packaging completes, locate the packaged SETest_2.exe, right-click -> Run as Administrator.
  • When game starts, hit "b" key to spawn a ball in the persistent level. (yellow ball)
  • Hit "k" key to save. This should work.
  • Walk up onto labeled platform on the left. This will load Sublevel_2.
  • Walk back down to ground floor.
  • Hit "k" key to save --> Crash.
    If you repeat the steps above but unload Sublevel_2 (by stepping on the unload trigger) before doing the final save, the game saves with no error/crash.

To repro #34 (actors in sublevel):

  • open project in editor.
  • Run PIE in new editor window.
  • Hit "b" to spawn ball in persistent level (yellow ball)
  • Walk up to sublevel 1 platform. (HUD will indicate Sublevel_1)
  • Hit "b" to spawn in Sublevel_1, green ball (this sublevel is not streamed, it's always loaded)
  • Walk up to top sublevel 2 platform (HUD will indicate Sublevel_2)
  • Hit "b" to spawn a ball in Sublevel_2 (red ball).
  • Walk down to ground.
  • Hit "k" to save game.
  • Exit game (left-shift+x)
    After the steps above proceed to Scenario 1 or Scenario 2.
    Scenario 1:
    • Start game again in new PIE.
    • Walk up stairs to trigger loading of sublevel_2.
    • Hit "l" to load game.
    • Note persistent and sublevel_1 actors are loaded. (yellow and green balls)
    • Note that sublevel_2, already streamed in, is still visible and red ball is correctly loaded from save.
    • All seems correct with this scenario.
      Scenario 2:
    • Start game again in new PIE.
    • Hit "l" to load game.
    • Note persistent and sublevel_1 actors are loaded. (yellow and green balls)
    • Note that sublevel_2 is not streamed in nor visible.
    • Walk up stairs to load sublevel_2.
    • Note that the red ball (spawned into sublevel_2) is not present - this is a problem.
    • Hit "l" to load game.
    • Note that sublevel_2 was already loaded(streamed), and now the game load did re-load the sublevel_2 actor (the red ball).

@muit muit added this to the Release 1.4 milestone Nov 1, 2020
@muit
Copy link
Member

muit commented Nov 1, 2020

Hi!
1.4 includes many fixes including not saving in packaged games and multithreading crashes.
Closing for tracking.

Thank you very much for the detailed reports!
They really help!

Muit

@muit muit closed this as completed Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working To Be Reproduced Has not been reproduced
Projects
None yet
Development

No branches or pull requests

3 participants