Jump to content

Multiple issues when building - duplicate identifiers, prefab goes missing, trouble opening scene


mech_alina
 Share

Recommended Posts

Our team has been having very bad issues with PlasticSCM the last few weeks. It first appeared a few weeks ago when one of the pre-fabs was randomly disappeared. No idea how that happened, but ended up copying and pasting the file from an old changeset repo.

Also every time someone opens unity, there is always pending changes that appear in plastic even if no changes are made. We have the compare data checkbox not just the timestamp in the Plastic options.

Next was that a different prefab would keep getting disconnected and we would lose all work on a branch which happened a few times. We think this could be due to a merging bug. If we revert to the latest changeset and play in Editor its fine, as soon as we run the build though that pre-fab goes missing and then the game can not play in the editor.

Today, after our team redoing the work that was lost due to Plastic, we were trying to do an Android build and multiple errors popped up as soon as the build started. See attached file for screenshot of console.

Why are we losing data consistently? Why are there merge issues that look like they only appear during the Android build? Please help as this is holding up our studio. See attached photo for a screengrab of the errors after attempting to build.

Unity version: 2021.2.9f1
Plastic version (aka Version Control Package): 1.15.13 then upgraded to 1.15.18 to see if fixed anything - it did not.

Also posted this question on the Unity forums here: https://forum.unity.com/threads/multiple-issues-when-building-duplicate-identifiers-prefab-goes-missing-trouble-opening-scene.1294380/

Error opening scene:

Problem detected while opening the Scene file: 'Assets/Scenes/ExerciseSelectionScreenTut.unity'.
Check the following logs for more details.
0x00007ff70bc704ad (Unity) StackWalker::GetCurrentCallstack
0x00007ff70bc77209 (Unity) StackWalker::ShowCallstack
0x00007ff70cbc3ed3 (Unity) GetStacktrace
0x00007ff70d246f7d (Unity) DebugStringToFile
0x00007ff70b89e9e7 (Unity) LoadSceneOperation::CompleteAwakeSequence
0x00007ff70b89ef72 (Unity) LoadSceneOperation::CompletePreloadManagerLoadSceneEditor
0x00007ff70b89fb1b (Unity) LoadSceneOperation::IntegrateMainThread
0x00007ff70b8a3711 (Unity) PreloadManager::UpdatePreloadingSingleStep
0x00007ff70b8a3cef (Unity) PreloadManager::WaitForAllAsyncOperationsToComplete
0x00007ff70ca5efb2 (Unity) EditorSceneManager::RestoreSceneBackups
0x00007ff70ca5c9d4 (Unity) EditorSceneManager::OpenSceneLoaded
0x00007ff70ca5b2a4 (Unity) EditorSceneManager::OpenScene
0x00007ff70c598a12 (Unity) EditorSceneManagerBindings::OpenScene
0x00007ff70b36cc2b (Unity) EditorSceneManager_CUSTOM_OpenScene_Injected
0x000001e8af863548 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.SceneManagement.EditorSceneManager:OpenScene_Injected (string,UnityEditor.SceneManagement.OpenSceneMode,UnityEngine.SceneManagement.Scene&)
0x000001e8af863463 (Mono JIT Code) UnityEditor.SceneManagement.EditorSceneManager:OpenScene (string,UnityEditor.SceneManagement.OpenSceneMode)
0x000001e8af862abb (Mono JIT Code) [PlayMakerProjectTools.cs:220] HutongGames.PlayMakerEditor.ProjectTools:GetAllPrefabFSMsInBuild ()
0x000001e8af8623d3 (Mono JIT Code) [PlayMakerProjectTools.cs:103] HutongGames.PlayMakerEditor.ProjectTools:DoPreprocessPrefabFSMsInBuild ()
0x000001e8af862013 (Mono JIT Code) [PlayMakerProjectTools.cs:57] HutongGames.PlayMakerEditor.ProjectTools:PreprocessPrefabFSMs ()
0x000001e8af861f73 (Mono JIT Code) [PlayMakerBuildCallbacks.cs:32] HutongGames.PlayMakerEditor.PlayMakerBuildCallbacks/PlayMakerPreProcessBuild:OnPreprocessBuild (UnityEditor.Build.Reporting.BuildReport)
0x000001e8d272c0ad (Mono JIT Code) UnityEditor.Build.BuildPipelineInterfaces/<>c__DisplayClass16_0:<OnBuildPreProcess>b__1 (UnityEditor.Build.IPreprocessBuildWithReport)
0x000001e83812c2be (Mono JIT Code) UnityEditor.Build.BuildPipelineInterfaces:InvokeCallbackInterfacesPair<T1_REF, T2_REF> (System.Collections.Generic.List`1<T1_REF>,System.Action`1<T1_REF>,System.Collections.Generic.List`1<T2_REF>,System.Action`1<T2_REF>,bool)
0x000001e8d272bc63 (Mono JIT Code) UnityEditor.Build.BuildPipelineInterfaces:OnBuildPreProcess (UnityEditor.Build.Reporting.BuildReport)
0x000001e902751378 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_object (object,intptr,intptr,intptr)
0x00007ffefb48e034 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007ffefb3ce724 (mono-2.0-bdwgc) [object.c:3064] do_runtime_invoke
0x00007ffefb3ce8bc (mono-2.0-bdwgc) [object.c:3111] mono_runtime_invoke
0x00007ff70bb95804 (Unity) scripting_method_invoke
0x00007ff70bb90424 (Unity) ScriptingInvocation::Invoke
0x00007ff70bb89d65 (Unity) ScriptingInvocation::Invoke<void>
0x00007ff70bcc5f03 (Unity) Scripting::UnityEditor::Build::BuildPipelineInterfacesProxy::OnBuildPreProcess
0x00007ff70d5b883b (Unity) PreprocessPlayer
0x00007ff70d5a470b (Unity) BuildPlayer
0x00007ff70b4861ed (Unity) BuildPipeline::BuildPlayerInternalNoCheck
0x00007ff70b2ee73f (Unity) BuildPipeline_CUSTOM_BuildPlayerInternalNoCheck
0x000001e8d271b327 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck (string[],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,UnityEditor.BuildOptions,string[],bool)
0x000001e8d271aa93 (Mono JIT Code) UnityEditor.BuildPlayerWindow/DefaultBuildMethods:BuildPlayer (UnityEditor.BuildPlayerOptions)
0x000001e8d2717553 (Mono JIT Code) UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
0x000001e8d2717063 (Mono JIT Code) UnityEditor.BuildPlayerWindow:BuildPlayerAndRun (bool)
0x000001e8d1ea924b (Mono JIT Code) UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform,UnityEditor.Modules.IBuildPostprocessor)
0x000001e8d1e99163 (Mono JIT Code) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings ()
0x000001e8d1a8bfa3 (Mono JIT Code) UnityEditor.BuildPlayerWindow:OnGUI ()
0x000001e8370d1d9a (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect)
0x000001e8370d1bb3 (Mono JIT Code) UnityEditor.DockArea:DrawView (UnityEngine.Rect)
0x000001e8340117bb (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
0x000001e833f982ef (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
0x000001e833f9759b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
0x000001e833f92adb (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool)
0x000001e833f92943 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
0x000001e833f9249b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool)
0x000001e833f92353 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool)
0x000001e80b81669b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleEvent (UnityEngine.UIElements.EventBase)
0x000001e80a64ef78 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase)
0x000001e833f9151b (Mono JIT Code) UnityEngine.UIElements.MouseCaptureDispatchingStrategy:DispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001e80a64d18e (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
0x000001e80a64cc8b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001e80b8035cb (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue ()
0x000001e80b8019d3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
0x000001e80b80190b (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:Dispose ()
0x000001e80a64cf13 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001e80a64c663 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:Dispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
0x000001e80a64c4db (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
0x000001e833f7975b (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x000001e833f79203 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
0x000001e833f78fbf (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
0x000001e833f78edb (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
0x000001e833f78d2d (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
0x000001e833f78de6 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
0x00007ffefb48e034 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007ffefb3ce724 (mono-2.0-bdwgc) [object.c:3064] do_runtime_invoke
0x00007ffefb3ce8bc (mono-2.0-bdwgc) [object.c:3111] mono_runtime_invoke
0x00007ff70bb95804 (Unity) scripting_method_invoke
0x00007ff70bb90424 (Unity) ScriptingInvocation::Invoke
0x00007ff70bb89d65 (Unity) ScriptingInvocation::Invoke<void>
0x00007ff70bc91d0a (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007ff70c6bdd86 (Unity) GUIView::ProcessRetainedMode
0x00007ff70cbf3d5b (Unity) GUIView::OnInputEvent
0x00007ff70c6bdb97 (Unity) GUIView::ProcessInputEvent
0x00007ff70cbf4c77 (Unity) GUIView::ProcessEventMessages
0x00007ff70cbee87c (Unity) GUIView::GUIViewWndProc
0x00007fffa1f7e858 (USER32) CallWindowProcW
0x00007fffa1f7e299 (USER32) DispatchMessageW
0x00007ff70cbc9ef3 (Unity) MainMessageLoop
0x00007ff70cbce93b (Unity) WinMain
0x00007ff70dedfa72 (Unity) __scrt_common_main_seh
0x00007fffa36b7034 (KERNEL32) BaseThreadInitThunk
0x00007fffa3ee2651 (ntdll) RtlUserThreadStart

 

Duplicate identifer (shows up many times, here is one example):

Duplicate identifier 341999874. File: "Assets/Scenes/ExerciseScreen.unity".
0x00007ff70bc704ad (Unity) StackWalker::GetCurrentCallstack
0x00007ff70bc77209 (Unity) StackWalker::ShowCallstack
0x00007ff70cbc3ed3 (Unity) GetStacktrace
0x00007ff70d246f7d (Unity) DebugStringToFile
0x00007ff70bc38de9 (Unity) SerializedFile::IndexTextFile
0x00007ff70bc3ae2e (Unity) SerializedFile::InitializeRead
0x00007ff70bc1d190 (Unity) PersistentManager::GetStreamNameSpaceInternal
0x00007ff70bc1b653 (Unity) PersistentManager::GetAllFileIDsAndTypesFromPath
0x00007ff70b89f38e (Unity) GetFileIDsForLoadingScene
0x00007ff70b8a0c95 (Unity) LoadSceneOperation::Perform
0x00007ff70b8a213b (Unity) PreloadManager::ProcessSingleOperation
0x00007ff70b8a27a6 (Unity) PreloadManager::Run
0x00007ff70b9ffc07 (Unity) Thread::RunThreadWrapper
0x00007fffa36b7034 (KERNEL32) BaseThreadInitThunk
0x00007fffa3ee2651 (ntdll) RtlUserThreadStart

 

error code.PNG

Link to comment
Share on other sites

  • 4 weeks later...

Sorry for the delayed response.

There is a lot to unpack here. My first guess would be to look into your ignore.conf or cloaked.conf rules to see if there is anything untoward there.

I would love to get connected with you to troubleshoot this further. If you haven't already, please get in contact with the support team so that we can arrange something.

 

Link to comment
Share on other sites

  • 1 month later...

Thanks! For our build we needed immediately we ended up deleting the particular prefab that was giving us issues and rebuilding it to get the build out quickly. We are now running into the exact same problem again with other prefabs. Again, I think it has something to do with the merge. I'll set up something with PlasticSCM.

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...