# ERROR: System.NullReferenceException: Object reference not set to an instance of an object

**URL:** <https://forums.unrealengine.com/t/error-system-nullreferenceexception-object-reference-not-set-to-an-instance-of-an-object/572312>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, UE5-0, packaging-projects, question\
**Created:** [June 2, 2022, 9:57am UTC](https://forums.unrealengine.com/t/error-system-nullreferenceexception-object-reference-not-set-to-an-instance-of-an-object/572312 "2022-06-02T09:57:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ezekiel88](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ezekiel88/32/913247_2.png) [@Ezekiel88](https://forums.unrealengine.com/u/Ezekiel88)\
**Post date:** [June 2, 2022, 9:57am UTC](https://forums.unrealengine.com/t/error-system-nullreferenceexception-object-reference-not-set-to-an-instance-of-an-object/572312/1 "2022-06-02T09:57:55Z")

</div>

Hi,

I get an error trying to launch my game.

 ![2022-06-02 11-52-43-61](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/2/e/a2eaffa024ff06f21ff6974b6ac180a0f4ba3821.png)

It seems it’s getting these trying to parse the target.cs file but I can’t find much info on this. How do I fix this?

UE5

---

<div class="post-metadata">

**Author:** ![Ezekiel88](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ezekiel88/32/913247_2.png) [@Ezekiel88](https://forums.unrealengine.com/u/Ezekiel88)\
**Post date:** [June 5, 2022, 12:08pm UTC](https://forums.unrealengine.com/t/error-system-nullreferenceexception-object-reference-not-set-to-an-instance-of-an-object/572312/2 "2022-06-05T12:08:54Z")

</div>

bump

---

<div class="post-metadata">

**Author:** ![Vanuki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vanuki](https://forums.unrealengine.com/u/Vanuki)\
**Post date:** [July 18, 2023, 3:20pm UTC](https://forums.unrealengine.com/t/error-system-nullreferenceexception-object-reference-not-set-to-an-instance-of-an-object/572312/3 "2023-07-18T15:20:31Z")

</div>

For me the problem was that i was using point in the project name (like 5.2). Then after i change the name and delete the “intermediate” folder, it was solved.

---

<div class="post-metadata">

**Author:** ![ethanwrly](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ethanwrly/32/721085_2.png) [@ethanwrly](https://forums.unrealengine.com/u/ethanwrly)\
**Post date:** [October 5, 2023, 1:40pm UTC](https://forums.unrealengine.com/t/error-system-nullreferenceexception-object-reference-not-set-to-an-instance-of-an-object/572312/4 "2023-10-05T13:40:56Z")

</div>

I am having the same problem too!

---

<div class="post-metadata">

**Author:** ![FUNKINFAMILYMUSIC](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/funkinfamilymusic/32/820184_2.png) [@FUNKINFAMILYMUSIC](https://forums.unrealengine.com/u/FUNKINFAMILYMUSIC)\
**Post date:** [December 4, 2025, 12:26am UTC](https://forums.unrealengine.com/t/error-system-nullreferenceexception-object-reference-not-set-to-an-instance-of-an-object/572312/5 "2025-12-04T00:26:44Z")

</div>

Had the same error. I set mine to Pak files as opposed to Zen Streaming and it worked!
