Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[RequiresEntityConversion] and OnValidate()

Discussion in 'Entity Component System' started by andrew-lukasik, Aug 3, 2020.

  1. andrew-lukasik

    andrew-lukasik

    Joined:
    Jan 31, 2013
    Posts:
    249
    I noticed that [RequiresEntityConversion] disables OnValidate calls. Is ISerializationCallbackReceiver the best replacement?
     
  2. burningmime

    burningmime

    Joined:
    Jan 25, 2014
    Posts:
    845
    I would file a bug about this; that seems wrong.
     
  3. andrew-lukasik

    andrew-lukasik

    Joined:
    Jan 31, 2013
    Posts:
    249
    Ok, I reported it, Case 1268193