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

GC object Warning for Packaged Project #22

Open
Konye666 opened this issue Aug 18, 2021 · 2 comments
Open

GC object Warning for Packaged Project #22

Konye666 opened this issue Aug 18, 2021 · 2 comments

Comments

@Konye666
Copy link

Hello, thanks for your work first. And here is a critical error occurred when running the plugin after package in UE 4.26.

Here is part of the log file for this error.

[2021.08.18-01.14.23:518][405]LogGarbage: Warning: Disregard for GC object SimulationSettings /Script/SimulationModule.Default__SimulationSettings referencing GeoReferencingSubsystem /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:GeoReferencingSubsystem_2147482581 which is not part of root set
[2021.08.18-01.14.32:508][405]LogWindows: Error: === Critical error: ===
[2021.08.18-01.14.32:508][405]LogWindows: Error:
[2021.08.18-01.14.32:508][405]LogWindows: Error: Fatal error: [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/CoreUObject/Private/UObject/GarbageCollectionVerification.cpp] [Line: 136]
[2021.08.18-01.14.32:508][405]LogWindows: Error: Encountered 1 object(s) breaking Disregard for GC assumptions. Please check log for details.
...
[2021.08.18-01.14.32:575][405]LogCore: Engine exit requested (reason: Win RequestExit)
[2021.08.18-01.14.32:640][405]Log file closed, 08/18/21 09:14:32

One of the solution that I searched in the internet is to delete/comment "UPROPERTY(Transient)" in the head file 'SimulationSettings.h'.

UPROPERTY(Transient) 
	class UGeoReferencingSubsystem* GeoReferencingSubsystem = NULL;

Since I am still new in UE, any other solution for this error? Thank you.

@AlbanBERGERET-Epic
Copy link
Contributor

Hello,
Yes, removing this UPROPERTY will get rid of the message, but will not change that much the initial problem that was an error in objects references because of the actual design. You can still use that as a temporary solution.

But just so you know, a newer, fixed and improved version of this georeferencing plugin will be included in the engine in 4.27, to be released in some days. This new version brings round-earth, with rebasing support and some other things. Following this release, this github repo will be deprecated in favor of the official UE one.

I invite you to jump on 4.27 when out !

@Konye666
Copy link
Author

Thank you for the quick reply so much ! and So happy to hear that this plugin will be included in 4.27, will try it first once it is released.

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

2 participants