DaedalicEntertainment / ue4-test-automation

Facilitates setting up integration test suits with Unreal Engine 4 Gauntlet.
https://www.daedalic.com
MIT License
215 stars 62 forks source link

4.25.3 -> 4.26.0: DaeTestPerformanceBudgetActor.cpp: cannot convert from 'const float [4]' to 'float' #17

Closed helghast closed 2 years ago

helghast commented 3 years ago

Migrating to version 4.26:

1>E:/UnrealEngineProjects2/AutomatedTestingTDD/Plugins/DaedalicTestAutomationPlugin/Source/DaedalicTestAutomationPlugin/Private/DaeTestPerformanceBudgetActor.cpp(193): error C2440: 'initializing': cannot convert from 'const float [4]' to 'float' 1> E:/UnrealEngineProjects2/AutomatedTestingTDD/Plugins/DaedalicTestAutomationPlugin/Source/DaedalicTestAutomationPlugin/Private/DaeTestPerformanceBudgetActor.cpp(193): note: There is no context in which this conversion is possible

image

WuAlan commented 3 years ago

I temply resolve this by just use gpu[0] time here..

MarceloGOliveira commented 3 years ago

In a project created with version 4.26, in addition to the error above, there is another one:

DaeTestPerformanceBudgetActor.cpp(81): error C2248: 'AActor::Instigator': cannot access private member declared in class 'AActor'

ErroBuildPlugin

NorfolkNChance commented 2 years ago

In a project created with version 4.26, in addition to the error above, there is another one:

DaeTestPerformanceBudgetActor.cpp(81): error C2248: 'AActor::Instigator': cannot access private member declared in class 'AActor'

ErroBuildPlugin

Change to SpawnInfo.Instigator = GetInstigator();

janousch commented 2 years ago

Fixed in commit 6539ae02362971ba307a8505ca49819adbe3f875 .