ERROR: Unhandled exception: Dependency file “D:\Unreal\ObstacleAssault\Intermediate\Build\Win64\UnrealEditor\Development\ObstacleAssault\MovingPlatform.gen.cpp.json” version (“1.2”) is not
supported version
This is the error that I keeping getting when trying to run the build task. It worked one time but after that live coding in unreal would tell me build failed. This is the error code in unreal.
ERROR: Unhandled exception: Dependency file “D:\Unreal\ObstacleAssault\Intermediate\Build\Win64\UnrealEditor\Development\ObstacleAssault\MovingPlatform.cpp.json” version (“1.2”) is not supported version.
Any suggestions
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include “CoreMinimal.h”
#include “GameFramework/Actor.h”
#include “MovingPlatform.generated.h”
UCLASS()
class OBSTACLEASSAULT_API AMovingPlatform : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
AMovingPlatform();
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
public:
// Called every frame
virtual void Tick(float DeltaTime) override;
UPROPERTY(EditAnywhere)
int32 MyInt = 99;
};