Skip to content

Typed containers fail to load untyped data at runtime #96872

Closed
@KoBeWi

Description

@KoBeWi

Tested versions

4.4 dev2
And probably earlier.

System information

Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 31.0.15.4633) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)

Issue description

When you have a resource with some exported properties of type Array and Dictionary, but later you decide that you want to add type to your Array/Dictionary, old instances of the resource will load with these variables empty, but only at runtime.

EDIT:
Apparently the containers loaded in editor are untyped. Re-saving the resource won't fix them.

Steps to reproduce

  1. Open MRP
  2. See that Array and Dictionary are printed with content
  3. Run the scene
  4. Compare the results

Minimal reproduction project (MRP)

tybug.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Unassessed

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions