Invalid access to memory location?

When trying to activate live coding i get this error:

The error is in turkish and means invalid access to memory location.

i have 16gb of ram so it shouldnt really be an issue? I use visual studio code and this is my code on the MovingPlatform.h

// 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;

};

Mine did this the first time as well - the GPU crashed/ran out of available memory. You can see there in the error that its calling for 1.5gb when only 1.44gb is available. Likely, the editor and the assets are just aggressive with available memory.

But when I restarted the editor, and resaved it with Code it was fine. I’m a i9-13900k with 32gb, so I doubt your system is doing anything wrong. That said I haven’t proceeded further ; but I was able to save it.

I suspect we both might need to adjust the scalability settings.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms