Fatal Error: Foliage Instance Base | Line : 90

As some suggested, I tried removing assets from the Content Browser. No luck. I’ve narrowed it down to levels that have had a particular asset (rather HP tree) used within the foliage system.

I’ve removed what I thought was every trace of the asset, but still crashes and all that.

Whats the problem your facing Bryst? I applied the hotfix, but its a no go. I’m on the release branch and it seems the hotfix requires other changes made. Are you on master or promoted?

I keep getting an error for FStringAsset Reference overloaded member function not found in DuplicateDatReader.cpp

Yeah well Since Idea Games no luck with that I’ve downloaded the 4.12.4 and .3 and the level does not open with any of these either. I’ve rebuilt the project as well as even my Appdata files but nope. Rebuilding the whole engine (source) does not do anything to this. I’m running out of ideas and just can’t wait until the 4.13 comes in. Our kickstarter is in ~1 month and I need to be focusing on bugs related to my programming, not the engine’s bugs themselves.

Well the problem that I’m facing is the same one that I posted here. No luck whatsoever.

but is there anything else that can be done to fix this? I’ve been focusing over a week to try and fix an engine bug, instead of further fixing my game’s bugs. We have a Kickstarter in roughly 1 month and me nor my team cannot afford to keep losing time in this.

Just read it. Sorry to hear. I have to submit the first beta in 2 weeks and then this happens. :confused: I hope a solution is found ASAP.

Hi everyone,

All of our resources are dedicated towards the 4.13 release. As such, there is no further development occurring on 4.12 and a 4.12.6 hotfix is not scheduled to be implemented.

What steps are you taking to add the commit to your source builds?

Hello ,

I have followed the steps from that page you linked. I am still getting the same error from this thread. I understand what the schedules are. I would like then to request for your help. My team has a kickstarter starting in one month. We have to finish bug-fixing and make a build in about a week. Originally it would’ve been no problem, but I’ve spent the last week and a half trying to solve this instead of polishing the game. With this updated schedule and the fact that nor this nor trying to build the game with a 4.12.4 (nor .12.3 for the matter) worked, what do you suggest that we do now?

Hi bryst, i´m sorry for that :frowning: With our projects we could “fix” that issue with that workaround i´ve postet, thought it would help for every one else too.

We´ve implemented the solution postet by too, but that didn´t help either, so i hope that this is realyy fixed in UE4.13 like he said.

After some additional research, I’ve found that this is a known issue here. I’m happy to report that this has already been fixed and should be in 4.13.

Hi everyone,

I have re-opened the bug report to continue investigation. You can continue to track its’ progress on the same link.

At present, we do not have any reproduction steps to recreate the error on our ends. Would anyone be willing to provide a sample project or reproduction steps we can take to recreate the error on our end? Receiving either could go a very long way towards finding a fix for this crash.

Hi,
Minimal change to make 4.12.5 work without crashes in foliage is:
Open FoliageInstanceBase.cpp and replace all entries of

 UE_LOG(LogInstancedFoliage, Fatal 
 to 
 UE_LOG(LogInstancedFoliage, Warning

And build editor after that. More complete fix is in 4.13, preview build should work without foliage crashes.

Hey now that 4.13 is out how do I change or copy my files from 4.12 to 4.13?

Right click Uproject, Switch > 4.13.

You’re Welcome

Hi Jagster,

I do not recommend switching the project directly, as this could cause errors or corruption to occur. Instead, open 4.13 from your engine launcher. Once the project window opens, press browse and find your project’s .uproject file. A warning message will appear, select “Open a Copy”.

105875-opencopy.png

By opening a copy, you will have a backup 4.12 version, just in case any corruption occurs, to prevent you from losing any data.

Ok I have made a copy on 4.13 nothing that I made opens though. It comes up with 2 chairs, a floor, table and a lamp thing. Also how do I completley switch my project? I’m kinda desperate at this point now.

Hey Jagster look in your content browser and search for level files then open the one you got corrupted. I haven’t tried it myself but I didn’t see it as a fix in the 4.13 release notes.

Hi Jagster,

If you go to File>Open Level do you see your levels listed? You should be able to open them from here. If they are not located within your maps folder/within the contents folder please let me know and we’ll continue debugging.

I’m not 100% sure what you mean but I went to my files and Project6 is the one I am having trouble with. . Here is my attempt trying to make a copy of (4.12 Project6) Screenshot by Lightshot the other Project 6’s from 4.13 all show default chair, table etc. Sorry to ask but could you screenshot to help explain some of this to me because i’m fairly new to using the Unreal Engine.

I’m attaching several images for various ways to ensure that the map you open to is the one you want, along with steps to open a level within the editor:

File>Open Level

Content Browser>Double Click map

Project Settings>Maps&Modes>Set map to show on launch

106940-getprojsettings.png

So 4.13 has fixed this error for me, but now another error has taken place. After working on the foliage for one of the previously affected maps and saving it again, re-opening it causes it to crash shortly after it has been loaded (unlike previously when it would crash before loading with the 4.12 error) I get a Critical Error, but I’m not sure what to make of it, I’ll paste it here for reference. (With one point in bold that seems to be the cause as far as I can tell.)

[2016.09.16-12.58.54:827][ 13]LogCrashTracker:

[2016.09.16-12.58.54:827][ 13]LogWindows:Error: === Critical error: ===

[2016.09.16-12.58.54:827][ 13]LogWindows:Error:

[2016.09.16-12.58.54:827][ 13]LogWindows:Error: Assertion failed: Canary != FShader::ShaderMagic_CleaningUp [File:D:\Build++UE4+Release-4.13+Compile\Sync\Engine\Source\Runtime\ShaderCore\Private\Shader.cpp] [Line: 440]

[2016.09.16-12.58.54:827][ 13]LogWindows:Error:

[2016.09.16-12.58.54:827][ 13]LogWindows:Error:

[2016.09.16-12.58.54:827][ 13]LogWindows:Error:

[2016.09.16-12.58.54:827][ 13]LogWindows:Error: KERNELBASE.dll

[2016.09.16-12.58.54:827][ 13]LogWindows:Error: UE4Editor-Core.dll

[2016.09.16-12.58.54:827][ 13]LogWindows:Error: UE4Editor-Core.dll

[2016.09.16-12.58.54:827][ 13]LogWindows:Error: UE4Editor-Core.dll

[2016.09.16-12.58.54:827][ 13]LogWindows:Error: UE4Editor-ShaderCore.dll

[2016.09.16-12.58.54:827][ 13]LogWindows:Error: UE4Editor-ShaderCore.dll

[2016.09.16-12.58.54:827][ 13]LogWindows:Error: UE4Editor-ShaderCore.dll

[2016.09.16-12.58.54:827][ 13]LogWindows:Error: UE4Editor-Renderer.dll

[2016.09.16-12.58.54:827][ 13]LogWindows:Error: UE4Editor-Renderer.dll

[2016.09.16-12.58.54:827][ 13]LogWindows:Error: UE4Editor-Renderer.dll

[2016.09.16-12.58.54:827][ 13]LogWindows:Error: UE4Editor-Renderer.dll

[2016.09.16-12.58.54:827][ 13]LogWindows:Error: UE4Editor-Engine.dll

[2016.09.16-12.58.54:827][ 13]LogWindows:Error: UE4Editor-Engine.dll

[2016.09.16-12.58.54:827][ 13]LogWindows:Error: UE4Editor-Engine.dll

[2016.09.16-12.58.54:827][ 13]LogWindows:Error: UE4Editor-Engine.dll

[2016.09.16-12.58.54:827][ 13]LogWindows:Error: UE4Editor-Engine.dll

[2016.09.16-12.58.54:827][ 13]LogWindows:Error: UE4Editor.exe

[2016.09.16-12.58.54:828][ 13]LogWindows:Error: UE4Editor.exe

[2016.09.16-12.58.54:828][ 13]LogWindows:Error: UE4Editor.exe

[2016.09.16-12.58.54:828][ 13]LogWindows:Error: UE4Editor.exe

[2016.09.16-12.58.54:828][ 13]LogWindows:Error: UE4Editor.exe

[2016.09.16-12.58.54:828][ 13]LogWindows:Error: KERNEL32.DLL

[2016.09.16-12.58.54:828][ 13]LogWindows:Error: ntdll.dll

[2016.09.16-12.58.54:828][ 13]LogWindows:Error: ntdll.dll

[2016.09.16-12.58.54:828][ 13]LogWindows:Error:

[2016.09.16-12.58.54:845][ 13]LogExit: Executing StaticShutdownAfterError

[2016.09.16-12.58.54:916][ 13]LogWindows: FPlatformMisc::RequestExit(1)

[2016.09.16-12.58.54:917][ 13]Log file closed, 09/16/16 13:58:54