My project cannot open after crashed.
If I want to open the project, it always crash.
Here is the Log:
link text
Open your project folder in explorer and try renaming your Saved and Intermediate folders to Saved.OLD and Intermediate.OLD.
Try to remove intermediate folders of your project (Intermediate inside project folder and the same Intermediate folders inside your plugins if used) and clean+rebuild your project.
Also it may be helpful if you show what’s happening on soldier76_character.cpp 33’th line
Sorry didn’t see your comment, posted mine before refreshing the page
Check your: soldier76_character.cpp file at line:33
That is where the crash is happening.
These are code on the 33rd line:
SoldierSensor->SetPeripheralVisionAngle(500.0f);
And here is the SoldierSensor declaration:
UPROPERTY(VisibleDefaultsOnly, BlueprintReadOnly, Category = Soldier)
class UPawnSensingComponent* SoldierSensor;
I find the problem that I used AIModule and added the UPawnSensingComponent.
if I delete the AIModule, everything still goes well. How can I apply PawnSensingComponent to C++ ? Should I use AIPerception?