Skip to content
This repository has been archived by the owner on Oct 15, 2021. It is now read-only.

Plugin is not working with pixel streaming plugin enabled #10

Open
jwielebnowski opened this issue Feb 11, 2021 · 2 comments
Open

Plugin is not working with pixel streaming plugin enabled #10

jwielebnowski opened this issue Feb 11, 2021 · 2 comments

Comments

@jwielebnowski
Copy link

Game will crash when it is run when pixel streaming and plugin are enabled in the game.

I have tested it in 3 games. It is enough to have the plugin enabled in the game and run the game with pixel streaming

To reproduce:

Take any game.
Add Simulation plugin as per documentation here.
Enable pixel streaming in the game.

Package the game and run with -PixelStreaming=localhost -PixelStreaming=8888 command line parameters. (Acturally you may try without).

Just keep it running. Within 2-3 minutes the game will crash. Always the same error. Something to do with the GC: Encountered 1 object(s) breaking Disregard for GC assumptions. Please check log for details.

Note; In order to run with pixel streaming you have to run packaged game or run it from the Visual Studio. Pixel streaming is disabled in the editor. Running from visual studio will show more information. All I could guess is, that there is some conflict involving timers and GC.

@AlbanBERGERET-Epic
Copy link
Contributor

As a quick and dirty hack, you can try commenting out the UPROPERTY(Transient) ln 33 in UEGeoCoordinates/SimulationPlugin/Source/SimulationModule/Public/SimulationSettings.h

For the next version of this plugin, we changed the global approach to define the referencing settings, and you should not have this issue anymore.

@JordanDraperLMCO
Copy link

JordanDraperLMCO commented Mar 12, 2021

I am also experiencing my game crashing with log message citing "Something to do with the GC: Encountered 1 object(s) breaking Disregard for GC assumptions. Please check log for details." (I am not using anything related to pixel streaming). I will reply if the suggestion above fixes my issue

EDIT: This fixed my issue personally

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants