HolographicWings / LethalSDK-Unity-Project

Unity Project using Lethal Company SDK
MIT License
43 stars 5 forks source link

Can you use Unity terrain? #5

Closed sfDesat closed 10 months ago

sfDesat commented 10 months ago

I am working on a planet and wanted to use Unity Terrain. It first worked but when i tried sculpting the terrain, it crashed in the game. Is this something fixable or do I have to find a different solution?

The LogOutput doesn't really say anything: [Info : Unity Log] PLAYER OPENED MENU [Info : Unity Log] In terminal menu: True [Info : Unity Log] Calling stop animation function StopUsing server rpc for player: 0 [Info : Unity Log] STOPPING SPECIAL ANIMATION ON LOCAL CLIENT; player who was using: kinderverslinder [Info : Unity Log] Quit terminal; inTerminalMenu true?: {playerScript.inTerminalMenu} [Info : Unity Log] Level id: 9 [Info : Unity Log] Lever animation: setting bool to True [Info : Unity Log] Sent lever animation RPC on this client [Info : Unity Log] STOPPING SPECIAL ANIMATION ON LOCAL CLIENT; player who was using: kinderverslinder [Info : Unity Log] Loading scene [Info : Unity Log] Scene that began loading: InitSceneLaunchOptions [Info : Unity Log] LOADING GAME!!!!! [Info : Unity Log] Waiting for all players to load! [Info :LethalExpansion] Game started. [Warning: Unity Log] There can be only one active Event System. [Info :LethalExpansion] Loading scene: InitSceneLaunchOptions

HolographicWings commented 10 months ago

Hello, i will investigate

HolographicWings commented 10 months ago

Hello @sfDesat After investigation, the game don't embed the Terrain shader, theres no way to add it, so i will try to make of find a converter to convert terrains into meshes.

HolographicWings commented 10 months ago

image I think i found a fix Actually testing terrain shader in the test moon

EDIT : i updated the expansion mod to 1.1.9 to resolve the issue, let me know if it work

sfDesat commented 10 months ago

Yes it works!

image

HolographicWings commented 10 months ago

perfect ! thanks for reporting