SpringBoot2+Vue3校园生活信息平台:前后端分离实践与部署
2026/10/10 16:00:42
Cannot construct objects of type '/Script/MetahumancharacterHeiXi.MyObject' in Construct Object from Class
解决方法:
原代码:
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "UObject/NoExportTypes.h" #include "MyObject.generated.h" /** * */ UCLASS() class METAHUMANCHARACTERHEIXI_API UMyObject : public UObject { GENERATED_BODY() public: UFUNCTION(BlueprintCallable, Category = "Demo") void HelloWorld(); };// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "UObject/NoExportTypes.h" #include