ue4plugins / UEGeoCoordinates

Provide tools for users to express Coordinates in different Geographic Coordinates Reference Systems
MIT License
136 stars 43 forks source link

Plugin is not working with pixel streaming plugin enabled #10

Open jwielebnowski opened 3 years ago

jwielebnowski commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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