Jump to content

Issues using Terrain Decorator


TakeruGrima

Recommended Posts

Hello, I have some issue with the Terrain Decorator. I followed this tutorial : 

 

 

And it doesn't work for me. I have these issues :

  • Flatening the terrain word by pressing the button "Apply to terrain" but it doesn't work when I use the gena spawner
  • When I use the spawner, it spawn the prefab I want but as said earlier the terrain is not flatten so I undo the spawning and it crash Unity everytime I do this
  • Also I have this warning "This Object is not a prefab instance ROOT and cannot be unpacked", the object is a prefab so I don't get it... 

 

Here is my setting for the spawner:

spacer.png

Link to comment
Share on other sites

Hi there @TakeruGrima,

That warning basically means that you need to attach that script 'Prefab Unpacker Decorator' to the root of a Prefab. 
In this case, your 'DesertRockPillar1' object must not be a Prefab, therefore the system won't work as intended. 

You need to use that on a Prefab instance only or it will not work properly.

Link to comment
Share on other sites

Thanks for your answer but I don't get what you mean, how can "DesertRockPillar1" not be a prefab if I need to put a prefab in the spawner prototypes

 

And do you know why Unity crash when I try to undo the spawning ? Because now it happens everytime not only in that case above. 

Link to comment
Share on other sites

You would need to look at the crash log. 
The undo system is a part of Unity. We do not control this process. 
I recommend starting there. 

Link to comment
Share on other sites

  • 2 weeks later...

I had a look at the crash log & for me it is like it's saying "it doesn't work"

 

Here is the crash log :

      at <unknown> <0xffffffff>
      at UnityEditor.EditorApplication:ExecuteMenuItem <0x000e0>
      at UnityEditor.ShortcutManagement.MenuItemEntryDiscoveryInfo:<.ctor>b__7_0 <0x0008a>
      at UnityEditor.ShortcutManagement.Trigger:HandleKeyEvent <0x02040>
      at UnityEditor.ShortcutManagement.ShortcutController:HandleKeyEvent <0x000f2>
      at UnityEditor.ShortcutManagement.ShortcutIntegration:EventHandler <0x00302>
      at UnityEditor.EditorApplication:Internal_CallGlobalEventHandler <0x000bd>
      at System.Object:runtime_invoke_void <0x00184>

 

It happen only when I undo the spawning in GeNa.

In addition to that sometimes I can't use Global Spawn after I did one & manually remove what was spawned because my settings were incorrect. I tried to remove the gameObject that handle the spawn & use global spawn again and it doesn't work...

Link to comment
Share on other sites

10 hours ago, TakeruGrima said:

I had a look at the crash log & for me it is like it's saying "it doesn't work"

 

Here is the crash log :

      at <unknown> <0xffffffff>
      at UnityEditor.EditorApplication:ExecuteMenuItem <0x000e0>
      at UnityEditor.ShortcutManagement.MenuItemEntryDiscoveryInfo:<.ctor>b__7_0 <0x0008a>
      at UnityEditor.ShortcutManagement.Trigger:HandleKeyEvent <0x02040>
      at UnityEditor.ShortcutManagement.ShortcutController:HandleKeyEvent <0x000f2>
      at UnityEditor.ShortcutManagement.ShortcutIntegration:EventHandler <0x00302>
      at UnityEditor.EditorApplication:Internal_CallGlobalEventHandler <0x000bd>
      at System.Object:runtime_invoke_void <0x00184>

 

It happen only when I undo the spawning in GeNa.

In addition to that sometimes I can't use Global Spawn after I did one & manually remove what was spawned because my settings were incorrect. I tried to remove the gameObject that handle the spawn & use global spawn again and it doesn't work...

what version of Unity are you using?

 

 

There is undo crashing bug, in Unity. mostly in 2021,2022, 2023 versions..   They claimed its fixed, but users are still having this issue with Undo causing crashing.

 

https://issuetracker.unity3d.com/issues/2021-dot-3-editor-cashes-on-gettransformaccess-when-undoing-duplication-of-a-canvasrenderer-gameobject

Link to comment
Share on other sites

On 10/28/2022 at 9:32 PM, Recon said:

what version of Unity are you using?

 

 

There is undo crashing bug, in Unity. mostly in 2021,2022, 2023 versions..   They claimed its fixed, but users are still having this issue with Undo causing crashing.

 

https://issuetracker.unity3d.com/issues/2021-dot-3-editor-cashes-on-gettransformaccess-when-undoing-duplication-of-a-canvasrenderer-gameobject

Hello, I use 2021.3.11f1.

Link to comment
Share on other sites

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

×
×
  • Create New...