Jump to content

GeNa Pro not working in my project (sponers not showing)


Timothy Rabinek

Recommended Posts

Hi,

I purchased GeNa Pro and Gaia Pro.

Gaia Pro is working fine but I have problems with GeNa Pro. When I create a new Spawner and hover over my terrain only certain locations show a green cyrcle but when I press Shift or Control nothing happens. See video

Please help

Link to comment
Share on other sites

Guys,

I uploaded a video on YouTube to show you my problem. Here is the link:

Gaia Pro spawners work on my terrain, but GeNa Pro spawners don't. I only see spawning options on objects I created in the project. Do you have any idea why this is happening? 

Link to comment
Share on other sites

We will have to look into this. 
It should work on objects as its able to do so as well as the terrain. 
The spawning logic in gena pro is completely different than Gaia pro as they are two different logics. 
Just curious although I am not sure if it would make a difference but is draw instance enabled on the terrain? 
Is there anything special about the terrains? As not seeing the gizmo is very interesting, normally you would at least see that even if the spawner wouldnt work. 
 

Link to comment
Share on other sites

I am using a Terraland script on the Terrian. 

Here is the script; I am unsure if this is affecting GeNa. I am also sending screenshots of all the properties of the terrain.

#if TERRALAND
#if UNITY_EDITOR

using UnityEditor;
using UnityEngine;

namespace TerraUnity.TerraLand
{
    public class TTileInfo : MonoBehaviour
    {
        public double TopLeftLatitude;
        public double TopLeftLongitude;
        public double BottomRightLatitude;
        public double BottomRightLongitude;
        public double SizeLatitude;
        public double SizeLongitude;

        public void Initialize(TVector2D topLeft, TVector2D bottomRight, TVector2D size)
        {
            TopLeftLatitude = topLeft.x;
            TopLeftLongitude = topLeft.y;

            BottomRightLatitude = bottomRight.x;
            BottomRightLongitude = bottomRight.y;

            SizeLatitude = size.x / 1000;
            SizeLongitude = size.y / 1000;
        }
    }

    [CustomEditor(typeof(TTileInfo))]
    public class TTileInfoEditor : Editor
    {
        public override void OnInspectorGUI()
        {
            var info = target as TTileInfo;
            EditorGUILayout.LabelField("TOP-Left", EditorStyles.boldLabel);
            EditorGUILayout.TextField($"   Latitude: ", info.TopLeftLatitude.ToString());
            EditorGUILayout.TextField($"   Longitude: ", info.TopLeftLongitude.ToString());
            EditorGUILayout.Space(3);

            EditorGUILayout.LabelField("Bottom-Right", EditorStyles.boldLabel);
            EditorGUILayout.TextField($"   Latitude: ", info.BottomRightLatitude.ToString());
            EditorGUILayout.TextField($"   Longitude: ", info.BottomRightLongitude.ToString());
            EditorGUILayout.Space(3);

            EditorGUILayout.LabelField("Size", EditorStyles.boldLabel);
            EditorGUILayout.TextField($"   Latitude: ", info.SizeLatitude.ToString());
            EditorGUILayout.TextField($"   Longitude: ", info.SizeLongitude.ToString());
        }
    }
}
#endif
#endif

1.png

2.png

3.png

Link to comment
Share on other sites

Hi @Timothy Rabinek, please excuse the delayed resonse -we reviewed the videos that you supplied again, could you please check if the terrain is maybe set to a layer that is NOT selected in Storm as "Ground Layer" for spawning? (see screenshot) If that would be the case, and the buildings / meshes are also on a different layer, that would explain the odd behavior.

image.png

Link to comment
Share on other sites

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...