Add even more profiler events
This commit is contained in:
@@ -372,7 +372,10 @@ bool PrefabManager::CreatePrefab(Actor* targetActor, const StringView& outputPat
|
||||
{
|
||||
// Parse json to DOM document
|
||||
rapidjson_flax::Document doc;
|
||||
doc.Parse(actorsDataBuffer.GetString(), actorsDataBuffer.GetSize());
|
||||
{
|
||||
PROFILE_CPU_NAMED("Json.Parse");
|
||||
doc.Parse(actorsDataBuffer.GetString(), actorsDataBuffer.GetSize());
|
||||
}
|
||||
if (doc.HasParseError())
|
||||
{
|
||||
LOG(Warning, "Failed to parse serialized actors data.");
|
||||
|
||||
Reference in New Issue
Block a user