x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

AI and Streaming levels

UE crashes when I copy an AI Actor on my Streaming levels. It might come from binding delegates to the Patroller. The error says :

MachineId:C1E158554EB834F85F766D93714B7BC2 EpicAccountId:54d3316924f2453b8a9f4c319286140f

Access violation - code c0000005 (first/second chance not available)

UE4Editor_Noraneko_9624!APatrollerController::Possess() + 719 bytes [e:\projets\straycatblues\git2\noraneko\source\noraneko\private\patrollercontroller.cpp:53] UE4Editor_Engine + 6512254 bytes UE4Editor_Engine + 6464908 bytes UE4Editor_Engine + 2162622 bytes UE4Editor_Noraneko_9624!APatroller::PostInitializeComponents() + 47 bytes [e:\projets\straycatblues\git2\noraneko\source\noraneko\private\patroller.cpp:48] UE4Editor_Engine + 5046642 bytes UE4Editor_Engine + 9906019 bytes UE4Editor_Engine + 3804899 bytes UE4Editor_UnrealEd + 4271756 bytes UE4Editor_UnrealEd + 4561611 bytes UE4Editor_UnrealEd + 4660963 bytes UE4Editor_UnrealEd + 1801811 bytes UE4Editor_UnrealEd + 6686342 bytes UE4Editor!FEngineLoop::Tick() + 3876 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launchengineloop.cpp:2214] UE4Editor!GuardedMain() + 479 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launch.cpp:131] UE4Editor!GuardedMainWrapper() + 26 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\windows\launchwindows.cpp:126] UE4Editor!WinMain() + 249 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\windows\launchwindows.cpp:202] UE4Editor!__tmainCRTStartup() + 329 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]

The code :

 void APatroller::PostInitializeComponents()
 {
     Super::PostInitializeComponents();
     PatrollerSensor->OnSeePawn.AddDynamic(this, &APatroller::OnSeePawn);
     PatrollerSensor->OnHearNoise.AddDynamic(this, &APatroller::OnHearNoise);
 }



Product Version: Not Selected
Tags:
more ▼

asked Feb 24 '15 at 09:04 AM in C++ Programming

avatar image

Bozarre_
26 5 6 13

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Have you tried debugging it? The callstack clearly indicates a crash in your code. My guess would be that PatrollerSensor (whatever that is) is null.

Cheers,

--mieszko

more ▼

answered Feb 24 '15 at 10:32 AM

avatar image

MieszkoZ STAFF
7.3k 223 57 412

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question