When I edit lists, some elements become invisible in the inspector (7 total props but only showing 3. deleting one element reveals them all) or I lose all data in the gameobjects with this script and have to set up the prefabs and the other variables again.
using UnityEngine;
[System.Serializable]
public class Props
{
public GameObject prefab;
public int Amount;
public bool SpawnInAir;
public bool RandomTiltRotation;
}
public class SpawnProps : MonoBehaviour
{
public Props[] props;

Show the code where you edit them.
Also lists are not the same as arrays. With lists its easier to add/remove items in code
How do you edit this array? Through the inspector? Currently the count is set to 2, so there are two elements in the array. So it’s not clear how you “edit” the array in the first place. Maybe you manually messed with the actual array not through the inspector and didn’t communicate the change to the asset database? We can’t really tell. All you showed us is a screenshot of your inspector showing 2 array elements.
When I edit the script Props, that’s when random issues start to happen in the inspector.
None of the code changes the array size or the variables inside it.