[RELEASED] GSpawn - Level Designer (3D Tile Rules, Curve Spawn, Scatter Brush, Modular Walls ... )

Hi, @XGT08
The 2021.3 version of Unity has a large number of users, can you make it compatible? thanks

Hello,

I have recently uploaded a version on the store that supports 2021.3.27.
The difference is that instead of selection highlights you will see a wireframe rendition of the selected geometry.

1 Like

Oh,Where is the plugin you mentioned that supports March 27, 2022? I didn’t find it

9112960--1264030--1.jpg

I’m afraid I don’t understand :slight_smile: Aren’t we talking about GSpawn? Don’t know anything about March 27, 2022.

The latest version of GSpawn supports 2021.3.27. You can update in the package manager.

I am currently using the latest version of GSpawn 3.1.5, which has multiple errors in Unity 2021.3.19. Do I need to test it on Unity 2021 3.26? I found that Unity 2021.3.27 is not yet available on the Unity website.

You can find 2021.3.27 here: https://unity.com/releases/editor/archive
It’s at the top of the list in the 2021.X tab.

(1) The new project using Unity2021.3.19 did not report any errors.
(2) When importing into my own project using Unity2021.3.19, these errors will be reported. Can you help me see what the reason is? thanks

9113296--1264063--2.png

Please use 2021.3.27.

So with 27 at the end, not 19.

Thank you very much. I have resolved the method name conflict issue in my project~:)

1 Like

Hello everyone,

Just released a new update for GSpawn (3.2.0).

There is a new feature available in this version called Decoration Rules. This feature works by providing an example scene which the plugin can analyze and detect the way in which objects decorate each other. This information can then be used in conjunction with the Props Spawn tool in order to quickly snap props in the right place.

Since most asset packs out there come with example scenes, you can load up an example scene, extract the data and then use it to decorate your own scenes.

You can have a look at this video tutorial in which I talk about this new feature:

Cheers,
Andrew

2 Likes

Hi,
I have a question. If their faces are connected together, they will overlap and increase the number of model faces. Does it have a significant impact on performance?


Hello,
What keywords should I search for model resources like tile rules? I want to purchase some 3D model resources of tile rules type in the Unity store.

Hello,

I would be more concerned with the number of tiles in general. However, as overlapping faces are concerned, I really don’t think this can cause a performance impact. I could be wrong of course, but faces overlap pretty much everywhere. For example, props that are sitting on top of floors or objects resting against walls… The overlapping faces are hidden and they will not be seen.

It is the number of draw calls that can be problematic and this is not related to faces. A draw call occurs when drawing a single object (assuming no batching). And unless really complex shaders are used, its’ not even the draw call itself that causes the performance hit. It is rather the preparation that has to take place that is a problem (e.g. sending the world matrices to the GPU).

Getting back to overlapping faces, as far as I am aware, Unity renders the opaque geometry front to back. This increases the chance that pixels which are overlapped will be early rejected by the Z test.

So, I really don’t think this should pose a problem. But again, the number of tiles (the number of objects in the scene), that is a different issue. If you are building a large environment and you find performance dropping, you might want to use a mesh combiner to combine meshes based on material. GSpawn has a mesh combiner included which combines meshes based on similar materials. Please see the docs here.

1 Like

In general, any modular pieces will do. If you can snap them to the grid and stitch them together using the gizmos, it should also work with the Tile Rule functionality.

There is however an exception: walls. Wall pieces that have inner and outer corners seem to be problematic. I had trouble making the outer corner pieces work with this functionality, but it’s possible I might have made a mistake when setting up the rules. I will have to test this again to say with 100% certainty.

1 Like

Hi, I am having some problems with the plugin in my project. I was using the previous version before the name change to GSpawn. I removed that and installed GSpawn, but the tool isnt really working correctly. The buttons will not select new categories or tools and i can’t do things like add prefabs into the wall rules!
I am on Unity 2021.3.27 and have tried doing fresh installs. When i try the package in a complete fresh project i get compile error saying “Level Designer\Scripts\Objects\Transform Sessions\ObjectModularSnapTargetParent.cs(4,36): error CS0234: The type or namespace name ‘DebugUI’ does not exist in the namespace ‘UnityEngine.Rendering’ (are you missing an assembly reference?)”
Any help would be appreciated! Thanks

Hi there,

Thanks for letting me know.

Just fixed this and submitted the update on the store. I can send you the updated pack if you wish via e-mail. Contact me at octamodius@yahoo.com

Cheers,
Andrew

Hi, I’m using 2021.3.27f.
The inspector doesn’t updates when I click on the buttons. But selecting another object and switching back updates the inspector.
No error’s upon importing.

9121693--1265821--record (10).gif

Hello,

Just tested this in 2021.3.27 but can’t reproduce it in any way, shape or form. For the moment, I don’t really know what could be causing that. Do you have any other plugins installed?

Solved!
I had the old Octave 3D folder in my project. Deleted it. Then deleted the GSpwan component and re-initialize.

1 Like

Hello everyone,

Just released a video tutorial in which I go through the process of building a village interior using the Village Interiors Kit by 3DForge. I would like to release some more of these videos in the future.

Although some of the info can become repetitive between videos, I believe it’s probably the best way to show how different types of environments can be built using GSpawn. Focus is going to be on modular environments.

Note: In future videos I might skip over some mundane tasks such as creating object groups and creating wall example prefabs. Those have already been covered and I would like to focus on actual level building.

EDIT: Was in the mood of doing another one, so here it is: