Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Can't Generate Visual Studio Project

Running C:/Users/crewd/Documents/UnrealEngine-release/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="C:/Users/crewd/Documents/Unreal Projects/Game/Game.uproject" -game -engine -progress Discovering modules, targets and source code for project... While compiling C:\Users\crewd\Documents\Unreal Projects\Game\Intermediate\Build\BuildRules\GameModuleRules.dll: ERROR: c:\Users\crewd\Documents\Unreal Projects\Game\Intermediate\Source\Game.Target.cs(6,14) : error CS0101: ?????࠭?⢮ ???? "" 㦥 ᮤ?ন? ??।?????? ??? "GameTarget" ERROR: UnrealBuildTool Exception: Unable to compile source files.

alt text

Product Version: UE 4.18
6.png (36.3 kB)
more ▼

asked Feb 19 '18 at 08:00 PM in C++ Programming

avatar image

31 3 9 14

avatar image Firefly74 Feb 19 '18 at 10:54 PM

Hey, could you share your Game.Target.cs file ? that would definitly help to see the error ! :)

avatar image chernoburk Feb 20 '18 at 02:27 PM

alt text

7.png (20.5 kB)
avatar image Firefly74 Feb 20 '18 at 02:58 PM

Is it a new project ? or an old that just got broken ?

i see 2 things : - i don't have the "setupGlobalEnvironment" method on my side ( but that probably not the problem ) - your game is called "Game" an thus it conflict with internals of UE as probably GameTarget class already exist, the class name is generated as "MyProjectTarget"

so if it's a new project, make a new one with an other name to try ! :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Not sure why the error message is garbled -- is VS set for a language other than English?

CS0101 is telling you that there is more than one identifier named "GameTarget". It looks like your target files are not set up correctly.

It says it's on line 6 of GameTarget.cs, so maybe you can figure it out by looking there.

more ▼

answered Feb 19 '18 at 08:13 PM

avatar image

4.4k 32 79 42

avatar image Jin_VE Feb 20 '18 at 07:11 PM

You probably shouldn't name your project "Game". There are a lot of things that it may confuse. Please try doing exactly the same project but with a better name -- even "MyGame" would work but you might want something more fitting to your project. Either way, use something less generic and see if it compiles. Note: renaming files won't work, you have to make a new project to get a new name.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Seems simple, it can't compile your source code, perhaps you have a error in your code.

more ▼

answered Feb 19 '18 at 08:08 PM

avatar image

413 17 15 31

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question