# UE5 name.project requires a temporary target.cs to be generated (Water plugin is enabled)

**URL:** <https://forums.unrealengine.com/t/ue5-name-project-requires-a-temporary-target-cs-to-be-generated-water-plugin-is-enabled/264351>\
**Category:** World Creation\
**Tags:** forum-bug, General, unreal-engine, UE5-0\
**Created:** [December 5, 2021, 10:34pm UTC](https://forums.unrealengine.com/t/ue5-name-project-requires-a-temporary-target-cs-to-be-generated-water-plugin-is-enabled/264351 "2021-12-05T22:34:34Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nethrex](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nethrex/32/88706_2.png) [@Nethrex](https://forums.unrealengine.com/u/Nethrex)\
**Post date:** [December 5, 2021, 10:34pm UTC](https://forums.unrealengine.com/t/ue5-name-project-requires-a-temporary-target-cs-to-be-generated-water-plugin-is-enabled/264351/1 "2021-12-05T22:34:34Z")

</div>

Hey all,  
I have been trying to build and package my creation following the guide on [Releasing Your Project | Unreal Engine Documentation](https://docs.unrealengine.com/4.27/en-US/SharingAndReleasing/Deployment/Releasing/)  
However since I am using the water plugin in UE5, I am getting the error:  
"ProjectName.uproject requires a temporary target.cs to be generated (Water plugin is enabled)  
ERROR: Client target not found!

Does anyone know how to make that temporary target.cs file it needs to build and ship my project so that I can share it with a friend?

Thanks!

---

<div class="post-metadata">

**Author:** ![Lucky-Patt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lucky-Patt](https://forums.unrealengine.com/u/Lucky-Patt)\
**Post date:** [January 5, 2022, 9:03am UTC](https://forums.unrealengine.com/t/ue5-name-project-requires-a-temporary-target-cs-to-be-generated-water-plugin-is-enabled/264351/2 "2022-01-05T09:03:29Z")

</div>

Hey !  
Do you find a solution ? I have the exact same issu with another plugin in 4.27.2.

I can’t package 😕

---

<div class="post-metadata">

**Author:** ![Kokuyouseki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kokuyouseki](https://forums.unrealengine.com/u/Kokuyouseki)\
**Post date:** [January 23, 2022, 11:41am UTC](https://forums.unrealengine.com/t/ue5-name-project-requires-a-temporary-target-cs-to-be-generated-water-plugin-is-enabled/264351/3 "2022-01-23T11:41:53Z")

</div>

Had this issue with ApexDestruction, OnlineSubsystemSteam and SteamShared BUILT-IN plugins in 4.27.2 as well so it’s not new apparently but I guess it works for others? FIrst I’ve thought that since I’m using Victory and AdvancedSessions, those might be at fault but when removing those but telling the project to still include eg.ApexDestruction it still failed. On the other hand there are some built-in plugins that are enabled by default (eg.steam VR) and they happen to cause no problems?

Tried adding a copy of these problematic plugins to my project’s plugins directory but that causes a conflict while moving the custom plugins into the engine’s plugin directory lets me enable them normally (and works in the editor) but won’t find them when trying to launch or package.

Also tried outright moving the ApexDestruction plugin’s directory from the engine’s to the project’s but still says it cannot find it, target.cs etc.

I did read you might need a win update for a similar issue to be fixed but that was an ancient article and on that note I did try installing a new version of msvC++ redist and .net as well but no use.  
Someone also mentioned creating a fake/dummy target or c++ file there. Tried an empty target thing, didn’t work.

I kind of find if hilarious that the BUILT-IN plugins cause the problems, not the external ones… but my laughter isn’t truly genuine considering I have no idea how to solve this at this point other than hoping for an update that miraculously does so.

---

<div class="post-metadata">

**Author:** ![Nethrex](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nethrex/32/88706_2.png) [@Nethrex](https://forums.unrealengine.com/u/Nethrex)\
**Post date:** [January 23, 2022, 2:42pm UTC](https://forums.unrealengine.com/t/ue5-name-project-requires-a-temporary-target-cs-to-be-generated-water-plugin-is-enabled/264351/4 "2022-01-23T14:42:31Z")

</div>

Sorry for the late reply, but unfortunately not no. I gave up trying to package it.

Concluded with a way more experienced UE user that it’s best to just wait for UE5 to be further developed and the water plugin out of alpha.

However by you having issues in UE4 I guess the problem may not be patched anytime soon and will be even harder to identify.

---

<div class="post-metadata">

**Author:** ![Kokuyouseki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kokuyouseki](https://forums.unrealengine.com/u/Kokuyouseki)\
**Post date:** [January 23, 2022, 3:14pm UTC](https://forums.unrealengine.com/t/ue5-name-project-requires-a-temporary-target-cs-to-be-generated-water-plugin-is-enabled/264351/5 "2022-01-23T15:14:36Z")

</div>

Yea, I’m not too hopeful either for now though it kinda further worries me that I rarely see similar errors on forums/answerhub - I’m afraid it is some problem on my end that is extremely hard to find, like something I installed or not or something hardware based. Probably not.

It’s still kinda weird, I mean I even tried this with the ThirdPerson example project and it packages/launches fine up until I allow either of said plugins. And of course PIE works perfectly fine as well. Weird stuff’s weird.

---

<div class="post-metadata">

**Author:** ![Nethrex](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nethrex/32/88706_2.png) [@Nethrex](https://forums.unrealengine.com/u/Nethrex)\
**Post date:** [January 23, 2022, 10:45pm UTC](https://forums.unrealengine.com/t/ue5-name-project-requires-a-temporary-target-cs-to-be-generated-water-plugin-is-enabled/264351/6 "2022-01-23T22:45:45Z")

</div>

I have thought the same.

A good test would be to try installing UE on a clean machine and move a copy of your project there.

If the issue still persists I feel like it is fair to assume that it is definitely UE / something within the project that has gone wrong.  
Could also try to create a new project using the same plugins etc. but on a different machine.

Just brainstorming a bit, unfortunately it put me off using UE for a bit and will have to return to it later. Had hoped I could go to UE4 instead of UE5 to fix it, but it sounds like that isn’t a viable plan.

---

<div class="post-metadata">

**Author:** ![Kokuyouseki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kokuyouseki](https://forums.unrealengine.com/u/Kokuyouseki)\
**Post date:** [January 31, 2022, 3:17am UTC](https://forums.unrealengine.com/t/ue5-name-project-requires-a-temporary-target-cs-to-be-generated-water-plugin-is-enabled/264351/7 "2022-01-31T03:17:11Z")

</div>

On my side I did try it on a different machine and I even tried installing visual studio 19 and later 13 too because I seem to recall that in “olden times” VStudio itself was required to build. Not necessarily correct but matters not as it didn’t help.

---

<div class="post-metadata">

**Author:** ![rrr-2221](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rrr-2221](https://forums.unrealengine.com/u/rrr-2221)\
**Post date:** [February 14, 2022, 4:07pm UTC](https://forums.unrealengine.com/t/ue5-name-project-requires-a-temporary-target-cs-to-be-generated-water-plugin-is-enabled/264351/8 "2022-02-14T16:07:17Z")

</div>

Hi, I had same issue with Water plugin on UE 4.27.2 on Windows 8.1.

Solved it like this:

1. Installed Visual Studio Community 2022 from here [https://visualstudio.microsoft.com/](https://visualstudio.microsoft.com/) (during install it will ask package you want, I’ve chosen “gaming #2 - for unreal engine and other c++ stuff” )
2. Installed Windows SDK from [Windows SDK - Windows app development](https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/) (I chose “download the .ISO”) (during install I didn’t touch any settings, all checkboxes were checked)

After that, packaging went without problems.

Errors verbatim for seach engines:

```auto
.uproject requires a temporary target.cs to be generated (Water plugin is enabled)
.uproject does not look like uproject file but no targets have been found!
ERROR: Windows SDK must be installed in order to build this target.

```

---

<div class="post-metadata">

**Author:** ![Kokuyouseki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kokuyouseki](https://forums.unrealengine.com/u/Kokuyouseki)\
**Post date:** [March 31, 2022, 11:35am UTC](https://forums.unrealengine.com/t/ue5-name-project-requires-a-temporary-target-cs-to-be-generated-water-plugin-is-enabled/264351/9 "2022-03-31T11:35:09Z")

</div>

Interestingly enough, your approach solved the VictoryPlugin/ApexDestruction errors but not the SteamSessions one. There if I disabled the Sessions plugins, it allowed the dependencies to load fine but when the plugin was added its dependencies couldn’t load again.  
Found my solution on Reddit, apparently after not so long ago UE stopped properly building the BlueprintOnly projects in certain situations and adding a dummy C++ class into it fixes it. Sounded like hogwash, tried it, worked. 🤨

[https://RedditLink](https://www.reddit.com/r/unrealengine/comments/j85uec/advanced_sessions_plugin_problems/)

---

<div class="post-metadata">

**Author:** ![LekaKeisari](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LekaKeisari](https://forums.unrealengine.com/u/LekaKeisari)\
**Post date:** [April 28, 2022, 11:07am UTC](https://forums.unrealengine.com/t/ue5-name-project-requires-a-temporary-target-cs-to-be-generated-water-plugin-is-enabled/264351/10 "2022-04-28T11:07:08Z")

</div>

That solution sounded exactly as you put it: hogwash, but tried it anyway and it worked!

We had a BP only project and Windows packaging went through without problems but Linux packaging had this error related to PowerIK-plugin: ERROR: Missing precompiled manifest for PowerIKRuntime.

Thank you for posting your solution here!

---

<div class="post-metadata">

**Author:** ![RamsesThe3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RamsesThe3](https://forums.unrealengine.com/u/RamsesThe3)\
**Post date:** [June 4, 2022, 11:20am UTC](https://forums.unrealengine.com/t/ue5-name-project-requires-a-temporary-target-cs-to-be-generated-water-plugin-is-enabled/264351/11 "2022-06-04T11:20:59Z")

</div>

Same happens with Composure plug-in.

---

<div class="post-metadata">

**Author:** ![strongeffect.uz](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/strongeffect.uz/32/780932_2.png) [@strongeffect.uz](https://forums.unrealengine.com/u/strongeffect.uz)\
**Post date:** [January 5, 2023, 5:48am UTC](https://forums.unrealengine.com/t/ue5-name-project-requires-a-temporary-target-cs-to-be-generated-water-plugin-is-enabled/264351/12 "2023-01-05T05:48:39Z")

</div>

C:\Users\Moon\Documents\Unreal Projects\VR\_ANOTOMY\_01\Intermediate\Source

---

<div class="post-metadata">

**Author:** ![Rt-Archviz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rt-Archviz](https://forums.unrealengine.com/u/Rt-Archviz)\
**Post date:** [February 28, 2024, 7:07pm UTC](https://forums.unrealengine.com/t/ue5-name-project-requires-a-temporary-target-cs-to-be-generated-water-plugin-is-enabled/264351/13 "2024-02-28T19:07:48Z")

</div>

i dont understand, what i should to do? and show images too, please. thanks
