x

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"

What to do????

The project could not be compiled. Would you like to open it in Visual Studio?

Running D:/Epic Games/4.8/Engine/Binaries/DotNET/UnrealBuildTool.exe SDP Development Win64 -project="D:/Projects/Unreal/SDP 4.8/SDP.uproject" -rocket -editorrecompile -progress -noubtmakefiles Parsing headers for SDPEditor Reflection code generated for SDPEditor Performing 12 actions (2 in parallel) [2/12] Resource ModuleVersionResource.rc.inl PCH.SDP.h.cpp [3/12] Resource SDP.rc SDPInet.cpp SDP.generated.cpp d:\projects\unreal\sdp 4.8\source\sdp\SDPInet.h(35) : error C2664: 'void USDPInet::GetServerData(FString &,TEnumAsByte &)' : cannot convert argument 2 from 'EInetEnum' to 'TEnumAsByte &'D:\Projects\Unreal\SDP 4.8\Source\SDP\DanceArrow.h(19) : error C2664: 'FVector ADanceArrow::TickHandler(TEnumAsByte &)' : cannot convert argument 1 from 'EMyEnum' to 'TEnumAsByte &'

D:\Projects\Unreal\SDP 4.8\Source\SDP\DanceMode01.h(19) : error C2664: 'void ADanceMode01::InputHandler(int32 &,int32 &,bool &,int32,TEnumAsByte &)' : cannot convert argument 5 from 'EDMEnum' to 'TEnumAsByte &' D:\Projects\Unreal\SDP 4.8\Source\SDP\DanceMode01.h(19) : error C2664: 'FTransform ADanceMode01::ArrowTransform(FVector,float,bool &,TEnumAsByte &)' : cannot convert argument 4 from 'EDMEnum' to 'TEnumAsByte &' D:\Projects\Unreal\SDP 4.8\Source\SDP\SDPCharacter.h(18) : error C2664: 'void ASDPCharacter::EyesCloseHandler(float,float &,TEnumAsByte &)' : cannot convert argument 3 from 'ECharMorphEnum' to 'TEnumAsByte &' SDPCharacter.cpp D:\Projects\Unreal\SDP 4.8\Source\SDP\SDPInet.h(35) : error C2664: 'void USDPInet::GetServerData(FString &,TEnumAsByte &)' : cannot convert argument 2 from 'EInetEnum' to 'TEnumAsByte &' d:\projects\unreal\sdp 4.8\source\sdp\SDPCharacter.h(18) : error C2664: 'void ASDPCharacter::EyesCloseHandler(float,float &,TEnumAsByte &)' : cannot convert argument 3 from 'ECharMorphEnum' to 'TEnumAsByte &' SDPGameMode.cpp DanceMode01.cpp d:\projects\unreal\sdp 4.8\source\sdp\DanceMode01.h(19) : error C2664: 'void ADanceMode01::InputHandler(int32 &,int32 &,bool &,int32,TEnumAsByte &)' : cannot convert argument 5 from 'EDMEnum' to 'TEnumAsByte &' d:\projects\unreal\sdp 4.8\source\sdp\DanceMode01.h(19) : error C2664: 'FTransform ADanceMode01::ArrowTransform(FVector,float,bool &,TEnumAsByte &)' : cannot convert argument 4 from 'EDMEnum' to 'TEnumAsByte &' ReDress.cpp DanceArrow.cpp d:\projects\unreal\sdp 4.8\source\sdp\DanceArrow.h(19) : error C2664: 'FVector ADanceArrow::TickHandler(TEnumAsByte &)' : cannot convert argument 1 from 'EMyEnum' to 'TEnumAsByte &' SDP.cpp -------- End Detailed Actions Stats ----------------------------------------------------------- ERROR: UBT ERROR: Failed to produce item: D:\Projects\Unreal\SDP 4.8\Binaries\Win64\UE4Editor-SDP.dll Total build time: 131,11 seconds

Product Version: UE 4.8
Tags:
more ▼

asked Jun 10 '15 at 10:09 PM in Using UE4

avatar image

Maslobojik
92 3 10 17

avatar image Zaucy Jun 11 '15 at 04:44 AM

I'm having the same issue. Looking into it and I'll let you know what kind of solution I come up with :)

edit: posted answer.

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

1 answer: sort voted first

Looks like in 4.8 something was changed with TEnumAsByte where you cannot use it as a reference in a function parameter. From my brief look, it seems to be occurring in the generated areas.

Solution:

hange all function parameters that use a referenced TEnumAsByte to a value TEnumAsByte.

Example: TEnumAsByte& to TEnumAsByte.

This worked for me! :)

Best of luck!

more ▼

answered Jun 11 '15 at 04:55 AM

avatar image

Zaucy
641 15 11 122

(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