Breaking Change Meta Issue #747
Labels
enhancement
New feature or request
refactor
Code base improvements, not necessarily feature/API changes.
Milestone
This is a collection of API or behavior breaking changes that are subject to be addressed in the next major release.
Preparations
Async
suffix to all async methods (gh issue) and deprecate the old names.7.0
Maintenance
com.unity.rendering.hybrid
and Entities versions0.x
Obsolete
attributeSchema.MeshPrimitiveBase
:GetHashCode
,Equals
Schema.Attributes
:GetHashCode
,Equals
Schema.MorphTarget
:GetHashCode
,Equals
Schema.TextureBase
:GetHashCode
,Equals
uint
inGltfWriter
AddMeshToNode
Behavioral
ConsoleLogger
without taking away the opportunity to unset the logger to null.Code Style and Refactorings
GltfEntityAsset
?GltfImport
? potentially after refactoring it.IInstantiator.AddPrimitive
IInstantiator.AddPrimitive
toIInstantiator.AddMesh(Result)
. Not (glTF) primitives are added/assigned, butMeshResult
s.AddPrimitive
parametermorphTargetWeights
can arguably be part ofMeshResult
.MeshResult.materialIndices
. Users should instead useMeshResult.primitiveIndices
to query the material from the MeshPrimitive.meshIndex
fromMeshResult
(and re-add it asAddPrimitive
paramter), it becomes identical toMeshAssignment
. ConsequentlyMeshAssignment
could be replaced withMeshResult
.GltfImport.GetSource*
and instead offerRootBase GltfImport.GetSourceRoot
and add all kinds of query methods toRootBase
. E.g.:RootBase.GetMesh(index)
.IInstantiator.CreateNode
: Add node name as parameter instead ofIInstantiator.SetNodeName
.GltfImport
. Implement it in (GameObject)Instantiator instead.NativeArray<T>.ReadOnly
wherever it's not required or dangerous to change the data.Schema Classes
Vague Technical Debt (to be triaged)
GLTFAST_THREADS
is still required (for Web builds).TODO
,FIXME
,HACK
comments#if UNITY_202x_y_OR_NEWER
Awake
,Start
,...) that areasync void
and see if they can be turned toasync Task
(removes SonarQube complaint).The text was updated successfully, but these errors were encountered: