forked from microsoft/AirSim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash that happens when loading cooked content with missing Car a…
…ssets by adding more logging information to help user understand what happened, and moving the asset loading to later in the process (non-static).
- Loading branch information
1 parent
1c7b250
commit 87fcf32
Showing
5 changed files
with
78 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
#include "AirSim.h" | ||
#include "Misc/Paths.h" | ||
|
||
DEFINE_LOG_CATEGORY(LogAirSim); | ||
|
||
class FAirSim : public IModuleInterface | ||
{ | ||
virtual void StartupModule() override; | ||
virtual void ShutdownModule() override; | ||
}; | ||
|
||
IMPLEMENT_MODULE(FAirSim, AirSim) | ||
|
||
void FAirSim::StartupModule() | ||
{ | ||
//plugin startup | ||
} | ||
|
||
void FAirSim::ShutdownModule() | ||
{ | ||
//plugin shutdown | ||
// Licensed under the MIT License. | ||
|
||
#include "AirSim.h" | ||
#include "Misc/Paths.h" | ||
|
||
DEFINE_LOG_CATEGORY(LogAirSim); | ||
|
||
class FAirSim : public IModuleInterface | ||
{ | ||
virtual void StartupModule() override; | ||
virtual void ShutdownModule() override; | ||
}; | ||
|
||
IMPLEMENT_MODULE(FAirSim, AirSim) | ||
|
||
void FAirSim::StartupModule() | ||
{ | ||
//plugin startup | ||
UE_LOG(LogAirSim, Log, TEXT("StartupModule: AirSim plugin")); | ||
} | ||
|
||
void FAirSim::ShutdownModule() | ||
{ | ||
//plugin shutdown | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters