Dreikblack Posted May 14, 2023 Posted May 14, 2023 Exception thrown at 0x00007FF72DFF37B3 in Test Project_d.exe: 0xC0000005: Access violation reading location 0x0000000000000000. https://www.ultraengine.com/learn/CreateTerrain?lang=cpp Actually CreateTerrain() seems to return null and exception happens lower in code due that. Quote Check out Slipgate Tactics demo, which is made with Ultra Engine/Leadwerks 5: https://www.leadwerks.com/community/topic/61480-slipgate-tactics-demo/
Josh Posted May 16, 2023 Posted May 16, 2023 Thanks for the heads up. I need to pack the default mesh files into the source somehow... Quote Let's build cool stuff and have fun.
Solution Josh Posted May 16, 2023 Solution Posted May 16, 2023 Fixed! 1 Quote Let's build cool stuff and have fun.
Dreikblack Posted May 19, 2023 Author Posted May 19, 2023 Keep returning null if terrain resolution is lower than 64. Quote Check out Slipgate Tactics demo, which is made with Ultra Engine/Leadwerks 5: https://www.leadwerks.com/community/topic/61480-slipgate-tactics-demo/
Dreikblack Posted May 19, 2023 Author Posted May 19, 2023 Also it's looks like SetTileHidden works only once and "unHide" (LMB + control in an example) cause Runtime Error "Assert failed". https://www.ultraengine.com/learn/Terrain_SetTileHidden?lang=cpp Quote Check out Slipgate Tactics demo, which is made with Ultra Engine/Leadwerks 5: https://www.leadwerks.com/community/topic/61480-slipgate-tactics-demo/
Josh Posted May 19, 2023 Posted May 19, 2023 4 hours ago, Dreikblack said: Keep returning null if terrain resolution is lower than 64. It has a minimum size, since that is the resolution of the mesh pieces. The TileHidden issue is something I already found and fixed in the source...update coming tomorrow! 1 Quote Let's build cool stuff and have fun.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.