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"

Some of my materials disappear after I run the app for a few minutes and then I get an unhandled exception

I have been trying to bring images from outside the unreal project to make them textures to the put inside of an already established material. I successfully brought them into the project and they display for a time but then they disappear and then this error comes up:

 Unhandled exception at 0x000007FED636F901 (UE4Editor-Engine-Win64-Debug.dll) in UE4Editor-Win64-Debug.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF.  

I know this has something to do with me switching out the texture of a material with an outside source but I'm trying to go back in the stack to see where the program found a null. I don't understand where the stack is in the program or how it is relevant to the material. The the last element in the stack leads me to the StaticMeshRender.cpp line 486 (const FLODInfo& ProxyLODInfo = LODs[LODIndex];)

Could someone possibly explain to me what the program is doing and how I can temporarily change the texture or temporarily and pragmatically import something from the outside and delete it when the application closes?

Product Version: UE 4.8
Tags:
more ▼

asked Jul 20 '15 at 08:26 PM in C++ Programming

avatar image

KikyoPorter
22 15 17 17

avatar image KikyoPorter Jul 21 '15 at 01:41 PM

I tried it again and this time the error came from a different part of the code the IsA() method had an error which is located in UObjectBaseUtility.cpp. The line where the error accured is line 257 (for ( UClass* TempClass=GetClass(); TempClass; TempClass=TempClass->GetSuperClass() ) ) It had the same error as I mentioned above

avatar image KikyoPorter Jul 21 '15 at 07:39 PM

I found a .udn file called CustomImporters. Would I be able to use this to create my own importer?

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

I found the asset importer code for unreal and used that to import my files at run time. I haven't had any issues since then.

more ▼

answered Jul 24 '15 at 01:17 PM

avatar image

KikyoPorter
22 15 17 17

(comments are locked)
10|2000 characters needed characters left
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