4.8.3 -> 4.9

Hello, from a bug that i can’t post in my another post here i got :

Here are my code :

// Fill out your copyright notice in the Description page of Project Settings.

#include "Etherion.h"
#include "ItemData.h"


UItemData::UItemData(const class FPostConstructInitializeProperties& PCIP)
	: Super(PCIP)
{
	Name = GetName(); //make the human-readable name the same as the asset name
}

void UItemData::PostRename(UObject* OldOuter, const FName OldName)
{
	Name = GetName(); //make the human-readable name the same as the asset name
}

And my errors :

  1. Erreur 1 error C2059: erreur de syntaxe : ‘chaîne’ E:\Etherion\Etherion\Source\Etherion\ItemData.cpp 7 1 Etherion
  2. Erreur 2 error C2143: erreur de syntaxe : absence de ‘,’ avant ‘&’ E:\Etherion\Etherion\Source\Etherion\ItemData.cpp 7 1 Etherion
  3. Erreur 3 error C2059: erreur de syntaxe : ‘&’ E:\Etherion\Etherion\Source\Etherion\ItemData.cpp 7 1 Etherion
  4. Erreur 4 error C2511: ‘UItemData::UItemData(const FObjectInitializer (__cdecl *)(void))’ : impossible de trouver la fonction membre surchargée dans ‘UItemData’ E:\Etherion\Etherion\Source\Etherion\ItemData.cpp 8 1 Etherion
  5. Erreur 5 error C2065: ‘PCIP’ : identificateur non déclaré E:\Etherion\Etherion\Source\Etherion\ItemData.cpp 8 1 Etherion
  6. Erreur 6 error C2550: ‘UItemData::{ctor}’ : les listes d’initialiseurs de constructeur ne sont autorisées que dans la définition d’un constructeur E:\Etherion\Etherion\Source\Etherion\ItemData.cpp 9 1 Etherion
  7. Erreur 7 error C2352: ‘UObjectBaseUtility::GetName’ : appel non conforme d’une fonction membre non static E:\Etherion\Etherion\Source\Etherion\ItemData.cpp 10 1 Etherion

IT’s hard to those franch errors, but i can see what might be the fault. you using GENERATE_UCLASS_BODY() or GENERATE_BODY()?

Hey -

Since this is the same as your most recent comment on this post - 4.8.3 -> 4.9 Problems - Pipeline & Plugins - Epic Developer Community Forums - I will continue working with you there to solve this issue.

Cheers