Comments (3)
Some observations:
- In this case, the prefab being processed is
SuperCat
. The owning instance isCat
and the entity is its (i.e. Cat) container entity. - If you remove
CatEntity
, the warning still persist, which means it is the container entity. If you duplicateCat
prefabs, there would be two warnings. - It only happens to nested prefabs.
- Code that generates the warning: Prefabs/InstanceEntityIdMapper.cpp
from o3de.
Note that the same warning also applies when we run the game in Editor. Related GHI: #14323
I believe it is the same root cause that happens when a prefab source asset is being converted to a product asset (spawnable).
from o3de.
I added some log lines in the PrefabBuilder, PrefabCatchmentProcessor, InstanceSerializer, JsonEntityIdSerializer, and InstanceEntityIdMapper.
Based on the result, I can tell that the it is somehow unexpectedly checking whether a parent container entity (SuperCat) belongs to a nested instance (Cat). Specifically, when the serializer is processing the SuperCat prefab, it would process the container entity and its nested instance Cat prefab. It is good there. But when it is processing the Cat instance's container entity, it does this:
- Checks if Cat container entity belongs to Cat instance - CORRECT (no issue)
- Checks if SuperCat container entity belongs to Cat instance - WRONG
Don't know why the second ResolveReferenceId
is being called for the SuperCat container entity. The serialization code is very hard to debug... I think there is a bug here.
Any ideas? @srikappa-amzn @michabr @AMZN-daimini
from o3de.
Related Issues (20)
- Inspector | More clearly differentiate Entities, Prefab Instances and Level Prefab Instances in the Entity Inspector
- Asset Browser | Dragging and dropping an asset back to its own position should not trigger a move/copy?
- Some streaming images have color space / color handling problems HOT 1
- Enhanced Support for Character Abilities and Capacities HOT 2
- Cannot download python package HOT 5
- Decal visibility behaves abnormally in Editor HOT 1
- Creating an entity in editor places it at 0,0,0 rather than where you clicked
- Enable duplication of entities in a prefab instance in a level
- Script Canvas node localization missing HOT 1
- Feature Request use .attimage files in material canvas HOT 1
- Python Relocation causes segmentation faults on Linux HOT 3
- Android Softlocks When Leaving APK Compression Enabled HOT 1
- Android Softlocks When Using PAK Files
- Creating a project with the CPP keyword as the project name causes a compilation error. HOT 5
- [Lua] SimulatedBody.GetOnCollisionBeginEvent() issue HOT 7
- Feature Request - Add ViewportUiRequestBus support to the ActionManager HOT 1
- Animgraph Recording Crashes When Hovering Event
- AZStd::Vector Emplace/Insert Compiles with Non-Iterator Parameter Leading to Crash HOT 1
- Manipulators aren't shown correctly after duplicating an entity HOT 2
- Script Canvas Debugger Not Working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from o3de.