Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assign Group to multiple Process Scene Objects #252

Open
LeFxCarsten opened this issue Oct 15, 2024 · 1 comment
Open

Assign Group to multiple Process Scene Objects #252

LeFxCarsten opened this issue Oct 15, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@LeFxCarsten
Copy link
Collaborator

Happend with:
Unity 2022.3.50f1
VR Builder 4.3.0

When I select multiple ProcessScene Objects and Use "Assign New Group" (or "Assign Group"), after pressing play I get spammed with this Exception:

ArgumentException: Byte array for GUID must be exactly 16 bytes long.
Parameter name: b

Screenshot 1:
bug_vrbuilder

Screenshot 2:
bug_vrbuilder_2

Stack Trace:

ArgumentException: Byte array for GUID must be exactly 16 bytes long.
Parameter name: b
System.Guid..ctor (System.ReadOnlySpan`1[T] b) (at <31687ccd371e4dc6b0c23a1317cf9474>:0)
System.Guid..ctor (System.Byte[] b) (at <31687ccd371e4dc6b0c23a1317cf9474>:0)
VRBuilder.Core.SceneObjects.SerializableGuid.get_Guid () (at ./Packages/co.mindport.vrbuilder.core/Source/Core/Runtime/SceneObjects/SerializableGuid.cs:24)
VRBuilder.Core.SceneObjects.ProcessSceneObject+<>c.<get_Guids>b__9_0 (VRBuilder.Core.SceneObjects.SerializableGuid bytes) (at ./Packages/co.mindport.vrbuilder.core/Source/Core/Runtime/SceneObjects/ProcessSceneObject.cs:84)
System.Linq.Enumerable+SelectListIterator`2[TSource,TResult].MoveNext () (at <a2fb550e986748b88facf50cd71afc3c>:0)
System.Linq.Enumerable+ConcatIterator`1[TSource].MoveNext () (at <a2fb550e986748b88facf50cd71afc3c>:0)
VRBuilder.Core.SceneObjects.SceneObjectRegistryV2.Register (VRBuilder.Core.SceneObjects.ISceneObject obj) (at ./Packages/co.mindport.vrbuilder.core/Source/Core/Runtime/SceneObjects/SceneObjectRegistryV2.cs:136)
VRBuilder.Core.SceneObjects.SceneObjectRegistryV2.RegisterAll () (at ./Packages/co.mindport.vrbuilder.core/Source/Core/Runtime/SceneObjects/SceneObjectRegistryV2.cs:195)
VRBuilder.Core.SceneObjects.SceneObjectRegistryV2..ctor () (at ./Packages/co.mindport.vrbuilder.core/Source/Core/Runtime/SceneObjects/SceneObjectRegistryV2.cs:29)
VRBuilder.Core.Configuration.BaseRuntimeConfiguration..ctor (VRBuilder.Core.RestrictiveEnvironment.StepLockHandlingStrategy lockHandling) (at ./Packages/co.mindport.vrbuilder.core/Source/Core/Runtime/Configuration/BaseRuntimeConfiguration.cs:32)
VRBuilder.Core.Configuration.BaseRuntimeConfiguration..ctor () (at ./Packages/co.mindport.vrbuilder.core/Source/Core/Runtime/Configuration/BaseRuntimeConfiguration.cs:138)
VRBuilder.Core.Configuration.DefaultRuntimeConfiguration..ctor () (at ./Packages/co.mindport.vrbuilder.core/Source/Core/Runtime/Configuration/DefaultRuntimeConfiguration.cs:28)
System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) (at <31687ccd371e4dc6b0c23a1317cf9474>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) (at <31687ccd371e4dc6b0c23a1317cf9474>:0)
System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic, System.Boolean wrapExceptions) (at <31687ccd371e4dc6b0c23a1317cf9474>:0)
System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean wrapExceptions, System.Boolean skipCheckThis, System.Boolean fillCache) (at <31687ccd371e4dc6b0c23a1317cf9474>:0)
System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Boolean wrapExceptions, System.Threading.StackCrawlMark& stackMark) (at <31687ccd371e4dc6b0c23a1317cf9474>:0)
System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic, System.Boolean wrapExceptions) (at <31687ccd371e4dc6b0c23a1317cf9474>:0)
System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) (at <31687ccd371e4dc6b0c23a1317cf9474>:0)
System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) (at <31687ccd371e4dc6b0c23a1317cf9474>:0)
System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture) (at <31687ccd371e4dc6b0c23a1317cf9474>:0)
VRBuilder.Core.Utils.ReflectionUtils.CreateInstanceOfType (System.Type type) (at ./Packages/co.mindport.vrbuilder.core/Source/Core/Runtime/Utils/ReflectionUtils.cs:140)
VRBuilder.Core.Configuration.RuntimeConfigurator.get_Configuration () (at ./Packages/co.mindport.vrbuilder.core/Source/Core/Runtime/Configuration/RuntimeConfigurator.cs:149)
VRBuilder.Core.SceneObjects.ProcessSceneObject.Init () (at ./Packages/co.mindport.vrbuilder.core/Source/Core/Runtime/SceneObjects/ProcessSceneObject.cs:329)
VRBuilder.Core.SceneObjects.ProcessSceneObject.Awake () (at ./Packages/co.mindport.vrbuilder.core/Source/Core/Runtime/SceneObjects/ProcessSceneObject.cs:130)

@LeFxCarsten LeFxCarsten added the bug Something isn't working label Oct 15, 2024
@mrwellmann
Copy link
Contributor

Thanks tracking this internally via MP-3040 & VRB-32

@mrwellmann mrwellmann self-assigned this Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants