# LogStats:Warning: MetaData mismatch

**URL:** <https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628>\
**Category:** C++\
**Tags:** threads, threading, unreal-engine, question, CPP\
**Created:** [February 1, 2015, 6:48am UTC](https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628 "2015-02-01T06:48:54Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Azarus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Azarus](https://forums.unrealengine.com/u/Azarus)\
**Post date:** [February 1, 2015, 6:48am UTC](https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628/1 "2015-02-01T06:48:54Z")

</div>

LogStats:Warning: MetaData mismatch. Did you assign a stat to two groups? New //STATGROUP\_Threads//FGenerationWorker///Thread\_68c\_0///////STATCAT\_Advanced//// old //STATGROUP\_Threads//FGenerationWorker///Thread\_ce4\_0///////STATCAT\_Advanced////

Can you tell me please what is this about. And how can i get rid of these warnings messages?  
Thanks

---

<div class="post-metadata">

**Author:** ![kShadowcraft](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kShadowcraft](https://forums.unrealengine.com/u/kShadowcraft)\
**Post date:** [February 13, 2015, 10:28pm UTC](https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628/2 "2015-02-13T22:28:34Z")

</div>

I’m getting the same error. stuck on main menu. ☹

---

<div class="post-metadata">

**Author:** ![Azarus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Azarus](https://forums.unrealengine.com/u/Azarus)\
**Post date:** [February 14, 2015, 3:00pm UTC](https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628/3 "2015-02-14T15:00:10Z")

</div>

The threads or objects has the same name. That’s all.

---

<div class="post-metadata">

**Author:** ![RageCann0n](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RageCann0n](https://forums.unrealengine.com/u/RageCann0n)\
**Post date:** [March 5, 2015, 1:54pm UTC](https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628/4 "2015-03-05T13:54:50Z")

</div>

@Azarus, what do you mean, and how to do you change it?

I’m having the same error in my Output Log for Launch. I’ll build my scene with production lighting, but that build only works in Play Preview. In Editor Launch and .exe Launch it reverts to a previous light build at runtime then converts my scene back to that light build upon exit. Is it just a 4.7.2 issue?

---

<div class="post-metadata">

**Author:** ![Azarus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Azarus](https://forums.unrealengine.com/u/Azarus)\
**Post date:** [March 5, 2015, 5:05pm UTC](https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628/5 "2015-03-05T17:05:46Z")

</div>

I got this error because i had multiple threads running with the same name. It shouldn’t cause any problems thought.

[https://docs.unrealengine.com/latest/INT/API/Runtime/Core/HAL/FRunnableThread/Create/1/index.html](https://docs.unrealengine.com/latest/INT/API/Runtime/Core/HAL/FRunnableThread/Create/1/index.html)  
According to the documentation the second parameter should be unique for each thread instance.

```
FRunnableThread::Create(RunnableObject, TEXT("UniqueThreadName"));

```

After giving an unique name for each thread i spawn the error dissapeared.

**Edit:  
So many people looking for proper answer, so i update my answer.**

This error happens when you have two or more threads, objects with the same name.

In my case i spawned multiple threads with the same name. To handle multiple tasks. (That was actually bad in general and pointless to spawn more than one thread in my case).

To generate an unique thread name for each task you want to perform you can use the  
“FThreadSafeCounter” object

```
// Create a counter
FThreadSafeCounter WorkerCounter;

// Increment the counter and create an unique name.
FString ThreadName(FString::Printf(TEXT("MyThreadName%i"), WorkerCounter.Increment()));

// Create the actual thread
FRunnableThread::Create(RunnableObject, *ThreadName);
```

---

<div class="post-metadata">

**Author:** ![Goerge\_Carlin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Goerge\_Carlin](https://forums.unrealengine.com/u/Goerge_Carlin)\
**Post date:** [August 24, 2015, 5:17am UTC](https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628/6 "2015-08-24T05:17:37Z")

</div>

could you please tell me how exactly did you solve this?

---

<div class="post-metadata">

**Author:** ![Azarus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Azarus](https://forums.unrealengine.com/u/Azarus)\
**Post date:** [September 3, 2015, 7:54am UTC](https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628/7 "2015-09-03T07:54:53Z")

</div>

I generated a different name for each thread.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ed5e42b1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ed5e42b1](https://forums.unrealengine.com/u/anonymous_user_ed5e42b1)\
**Post date:** [September 22, 2015, 1:44pm UTC](https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628/8 "2015-09-22T13:44:04Z")

</div>

how?! :c. Please help!

---

<div class="post-metadata">

**Author:** ![MuriloBeraldo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MuriloBeraldo](https://forums.unrealengine.com/u/MuriloBeraldo)\
**Post date:** [September 29, 2015, 6:52pm UTC](https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628/9 "2015-09-29T18:52:18Z")

</div>

Not meant to sound rude or anything…but what can be something obvious to you may be a complete blank for somebody else. I’m having the same issue for weeks now and whilling to find an answer. So please, if you guys could give a detailed solution to that it would be awesome.

Please T-T I’m really struggling because of this while launching to Android.

---

<div class="post-metadata">

**Author:** ![Azarus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Azarus](https://forums.unrealengine.com/u/Azarus)\
**Post date:** [October 14, 2015, 12:53pm UTC](https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628/10 "2015-10-14T12:53:20Z")

</div>

You have to give an Unique name to your objects.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6d81d6c3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6d81d6c3](https://forums.unrealengine.com/u/anonymous_user_6d81d6c3)\
**Post date:** [January 5, 2016, 7:00am UTC](https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628/11 "2016-01-05T07:00:29Z")

</div>

i’m getting the same error. and i’m not ever starting any threads in code so i’m not sure what this renaming would be or where it would occur. i’m following the readme, it says to launch the html5launcher to start the server. then i open the main web page titled mygame.html. it never opens due to this error

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6d81d6c3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6d81d6c3](https://forums.unrealengine.com/u/anonymous_user_6d81d6c3)\
**Post date:** [January 5, 2016, 7:01am UTC](https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628/12 "2016-01-05T07:01:14Z")

</div>

unique name to which objects?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6d81d6c3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6d81d6c3](https://forums.unrealengine.com/u/anonymous_user_6d81d6c3)\
**Post date:** [January 5, 2016, 7:02am UTC](https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628/13 "2016-01-05T07:02:00Z")

</div>

which threads and where? i never start any in code or control any naming that i know of

---

<div class="post-metadata">

**Author:** ![10xray1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@10xray1](https://forums.unrealengine.com/u/10xray1)\
**Post date:** [January 25, 2016, 7:18pm UTC](https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628/14 "2016-01-25T19:18:45Z")

</div>

I get this error too while launching a completely clean, no content, blank map. The only thing in the level is Fog, Floor, Light Source, Player Start, and Sky Sphere… as assigned by the engine for blank maps.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6110f10e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6110f10e](https://forums.unrealengine.com/u/anonymous_user_6110f10e)\
**Post date:** [January 27, 2016, 1:35pm UTC](https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628/15 "2016-01-27T13:35:16Z")

</div>

the same error guys… please help me…  
i just opened “Shooter Game” in editor, no change nothink, and just try to launch game… and  
error…

LogPlayLevel: Completed Launch On Stage: Build Task, Time: 0.751933  
LogStats:Warning: MetaData mismatch. Did you assign a stat to two groups? New //STATGROUP\_Threads//FLauncherTask///Thread\_3c34\_0///####STATCAT\_Advanced#### old //STATGROUP\_Threads//FLauncherTask///Thread\_420c\_0///####STATCAT\_Advanced####  
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 0.000045  
LogPlayLevel: BUILD FAILED  
PackagingResults:Error: Error Launch failed! Unknown Error

What i do?  
i read all post… but really dont understand…

---

<div class="post-metadata">

**Author:** ![Si\_Thu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Si\_Thu](https://forums.unrealengine.com/u/Si_Thu)\
**Post date:** [July 5, 2016, 10:38am UTC](https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628/16 "2016-07-05T10:38:16Z")

</div>

hi there, i am experiencing this issue, would you kindly be able to provide step by step instructions please?  
It will help a lot of users out here.  
Thanks.

---

<div class="post-metadata">

**Author:** ![Elggetto](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elggetto](https://forums.unrealengine.com/u/Elggetto)\
**Post date:** [July 5, 2016, 2:01pm UTC](https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628/17 "2016-07-05T14:01:26Z")

</div>

Could you expand on your answer please? We don’t know how to give a different name to threads. And google didn’t help me much. Thank you. 🙂

---

<div class="post-metadata">

**Author:** ![Azarus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Azarus](https://forums.unrealengine.com/u/Azarus)\
**Post date:** [July 14, 2016, 8:00am UTC](https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628/18 "2016-07-14T08:00:38Z")

</div>

It’s in my answer TEXT(“Threadname?”)

```
FRunnableThread::Create(WorkerObject, TEXT("ThreadName Replace this string with an unique name")
```

---

<div class="post-metadata">

**Author:** ![Si\_Thu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Si\_Thu](https://forums.unrealengine.com/u/Si_Thu)\
**Post date:** [July 15, 2016, 1:45am UTC](https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628/19 "2016-07-15T01:45:46Z")

</div>

and where do we edit that thread name please?

---

<div class="post-metadata">

**Author:** ![turanta](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@turanta](https://forums.unrealengine.com/u/turanta)\
**Post date:** [July 27, 2016, 9:49am UTC](https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628/20 "2016-07-27T09:49:50Z")

</div>

I use 4.11.2ver and every my 11ver project all happen same error.  
but strangely I can package them and they can run rightly.  
but still I can’t launch in editer

[Next page](https://forums.unrealengine.com/t/logstats-metadata-mismatch/305628.md?page=2)
