Procedurally Spawning Foliage

I’m trying to use this tutorial for a project, however, the instructions are not exactly clear and when I try to use the full source code, on compiling it crashes.

I am using UE4 4.27.0. Is anyone able to help me with this?


Hi @Indiana_Skrypek,

Sorry to hear you’re having trouble. I have a few questions to get to the bottom of this.

Are you running the project straight from your IDE, or are you launching it through the .uproject file/epic games launcher?

How are you upgrading the project from 4.26 to 4.27?

It looks like you were able to get the project to build and load in the editor. When did that crash window appear? Was it when you pressed play, or did something else trigger it?

If you test it out again, try clicking on the “click here to view directory” in the second field on the crash window. You should see some logs in that folder, which could help to narrow down the issue.

-Alex

Hi Alex,

Thank you for your reply. I am running the project through the epic games launcher, then by loading the project into UE4.

The project loads into UE4 but when play is pressed the crash happens.

The project has been tried in 4.26 and 4.27, however it crashes in both.

This is the some of the log of the crash.

Kind regards,
Indiana

Log file open, 10/19/21 09:02:42
LogWindows: Failed to load ‘aqProf.dll’ (GetLastError=126)
LogWindows: File ‘aqProf.dll’ does not exist
LogWindows: Failed to load ‘VtuneApi.dll’ (GetLastError=126)
LogWindows: File ‘VtuneApi.dll’ does not exist
LogWindows: Failed to load ‘VtuneApi32e.dll’ (GetLastError=126)
LogWindows: File ‘VtuneApi32e.dll’ does not exist
LogConsoleResponse: Display: Failed to find resolution value strings in scalability ini. Falling back to default.
LogConsoleResponse: Display: Failed to find resolution value strings in scalability ini. Falling back to default.
LogInit: Display: Running engine for game: aiden_geo_tutorial
LogPlatformFile: Not using cached read wrapper
LogTaskGraph: Started task graph with 5 named threads and 26 total threads with 3 sets of task threads.
LogStats: Stats thread started at 0.179036
LogICUInternationalization: ICU TimeZone Detection - Raw Offset: +9:30, Platform Override: ‘’
LogInit: Display: Loading text-based GConfig…
[2021.10.18-22.34.56:685][981]LogCesium: Error: [2021-10-19 09:04:56.678] [error] [IonRasterOverlay.cpp:75] Ion raster overlay metadata response type is not ‘IMAGERY’, but unknown
[2021.10.18-22.32.49:709][ 1]LogCesium: Error: [2021-10-19 09:02:49.702] [error] [IonRasterOverlay.cpp:75] Ion raster overlay metadata response type is not ‘IMAGERY’, but unknown

[2021.10.18-22.32.49:709][ 1]LogCesium: Error: [2021-10-19 09:02:49.710] [error] [Tileset.cpp:158] Received status code 401 for asset response https://api.cesium.com/v1/assets/2/endpoint?access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJhNTU0YzlkYy0xYTdkLTQxYTUtOTQ2NC0xNjc0YmIzYWNjOTQiLCJpZCI6MjU5LCJpYXQiOjE2MjIyMjQ2MzJ9.lmsCVo8pA4x1j7e46cBLp-LhheJskQj9O9LTm2iBfhM
[2021.10.18-22.34.56:816][996]LogCesium: Error: [2021-10-19 09:04:56.816] [error] [Tileset.cpp:158] Received status code 401 for asset response https://api.cesium.com/v1/assets/2/endpoint?access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJhNTU0YzlkYy0xYTdkLTQxYTUtOTQ2NC0xNjc0YmIzYWNjOTQiLCJpZCI6MjU5LCJpYXQiOjE2MjIyMjQ2MzJ9.lmsCVo8pA4x1j7e46cBLp-LhheJskQj9O9LTm2iBfhM
[2021.10.18-22.34.37:276][725]LogCesium: Error: [2021-10-19 09:04:37.268] [error] [IonRasterOverlay.cpp:75] Ion raster overlay metadata response type is not ‘IMAGERY’, but unknown
[2021.10.18-22.34.49:058][126]LogCesium: Error: [2021-10-19 09:04:49.058] [error] [Tileset.cpp:158] Received status code 401 for asset response https://api.cesium.com/v1/assets/2/endpoint?access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJhNTU0YzlkYy0xYTdkLTQxYTUtOTQ2NC0xNjc0YmIzYWNjOTQiLCJpZCI6MjU5LCJpYXQiOjE2MjIyMjQ2MzJ9.lmsCVo8pA4x1j7e46cBLp-LhheJskQj9O9LTm2iBfhM

Hi @Indiana_Skrypek,

I’m not sure why you’re getting a crash, and those errors suggest that it’s not Cesium for Unreal or the source code causing the crashes. I took a look and it’s possible it’s a problem with your Unreal Engine installation. This thread may be a good place to start troubleshooting - UE4 constantly crashing when trying to play game - General Discussion - Unreal Engine Forums

In that thread, they also link to another post that may help you out.

Best of luck,
Alex