Hi all,
the lesson deals with how to do bug reports, and suggests a solution to the “aim solution not found” log error caused by a bug in the SuggestProjectileVelocity() UE function. I’m still getting the same error after applying the fix as suggested by @ben in the lesson - I’ve even copied the code from Ben’s commit on github to make sure it’s not a spelling error I’ve missed, I’ve deleted/rebuilt project files, all in all running out of ideas.My current implementation is such:
bool bHaveAimSolution = UGameplayStatics::SuggestProjectileVelocity ( this, OutLaunchVelocity, StartLocation, HitLocation, LaunchSpeed, false, 0, 0, ESuggestProjVelocityTraceOption::DoNotTrace // Paramater must be present to prevent bug // TODO report bug );
…and log output is:
LogTemp:Warning: 0.008334: Aim solution found
LogTemp:Warning: 0.008334: NO aim solution found
LogTemp:Warning: 0.008334: NO aim solution found
LogTemp:Warning: 0.008334: NO aim solution found
LogTemp:Warning: 0.008334: Aim solution found
LogTemp:Warning: 0.260461: Aim solution found
LogTemp:Warning: 0.260461: NO aim solution found
LogTemp:Warning: 0.260461: NO aim solution found
LogTemp:Warning: 0.260461: NO aim solution found
LogTemp:Warning: 0.260461: Aim solution found
LogTemp:Warning: 0.270839: Aim solution found
LogTemp:Warning: 0.270839: NO aim solution found
LogTemp:Warning: 0.270839: NO aim solution found
LogTemp:Warning: 0.270839: Aim solution found
LogTemp:Warning: 0.270839: NO aim solution found
LogTemp:Warning: 0.279174: Aim solution found
…etc. Running on Engine 4.12.5. Any sort of solution welcome.