So I came upon a curious thing when creating a basic dialogue event. For some reason, a UI box opens before the dialogue box. So there are 2 UI boxes stacked on each other, one of them blank and the other with dialogue.

Here's the source of the event:

%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -1501101930, guid: f4979b3083d349140bb14b6ec7fc999a, type: 3}
m_Name: Default Dialogue
m_EditorClassIdentifier:
time: 5/10/2018 12:29:52 AM
version: 2.15.1
data:
name: gameEvent
xmlData: "<gameEvent startIndex=\"1\" >\n\t<_bool blockingEvent=\"False\" blockMoveAI=\"False\"
blockActorMoveAI=\"False\" blockControlMaps=\"False\" clearFoundObjects=\"True\"
blockPlayer=\"True\" blockCamera=\"False\" clearBlocks=\"True\" mainCamera=\"True\"
cameraTag=\"False\" destroyPrefabs=\"False\" overrideNodeName=\"False\" />\n\t<_floatarrays>\n\t\t<nodePosition
38 38 />\n\t</_floatarrays>\n\t<_string>\n\t\t<cameraName><![CDATA[]]></cameraName>\n\t\t<nodeName><![CDATA[]]></nodeName>\n\t</_string>\n\t<_subarrays>\n\t\t<actor>\n\t\t\t<0
type=\"0\" memberIndex=\"0\" >\n\t\t\t\t<_bool isEventObject=\"True\" isFindObject=\"False\"
onlyBattle=\"False\" useRoot=\"False\" useSceneName=\"False\" setName=\"False\"
/>\n\t\t\t\t<_string>\n\t\t\t\t\t<childName><![CDATA[]]></childName>\n\t\t\t\t</_string>\n\t\t\t\t<_subarrays>\n\t\t\t\t\t<portrait>\n\t\t\t\t\t</portrait>\n\t\t\t\t</_subarrays>\n\t\t\t</0>\n\t\t\t<1
type=\"1\" memberIndex=\"0\" >\n\t\t\t\t<_bool isEventObject=\"False\" isFindObject=\"False\"
onlyBattle=\"False\" useRoot=\"False\" useSceneName=\"False\" setName=\"False\"
/>\n\t\t\t\t<_string>\n\t\t\t\t\t<childName><![CDATA[]]></childName>\n\t\t\t\t</_string>\n\t\t\t\t<_subarrays>\n\t\t\t\t\t<portrait>\n\t\t\t\t\t</portrait>\n\t\t\t\t</_subarrays>\n\t\t\t</1>\n\t\t</actor>\n\t\t<waypoint>\n\t\t</waypoint>\n\t\t<prefab>\n\t\t</prefab>\n\t\t<audioClip>\n\t\t</audioClip>\n\t\t<step>\n\t\t\t<0
next=\"3\" >\n\t\t\t\t<_bool active=\"True\" overrideNodeName=\"False\" />\n\t\t\t\t<_floatarrays>\n\t\t\t\t\t<nodePosition
494 38 />\n\t\t\t\t</_floatarrays>\n\t\t\t\t<_string>\n\t\t\t\t\t<nodeName><![CDATA[]]></nodeName>\n\t\t\t\t\t<_type><![CDATA[ShowDialogueStep]]></_type>\n\t\t\t\t</_string>\n\t\t\t\t<dialogue
type=\"0\" guiBoxID=\"0\" actorID=\"0\" portraitType=\"0\" consoleTypeID=\"0\"
clipID=\"0\" cancelNext=\"-1\" >\n\t\t\t\t\t<_bool waitClose=\"True\" notificationQueue=\"True\"
useSpeaker=\"False\" atActorPosition=\"False\" speakerName=\"False\" speakerPortrait=\"False\"
ownPortraitPosition=\"False\" useTitle=\"False\" outputToConsole=\"False\" useAudio=\"False\"
stopAudio=\"True\" onSpeaker=\"False\" allowCancel=\"False\" blockAccept=\"False\"
afterAudio=\"False\" wait=\"False\" />\n\t\t\t\t\t<_floatarrays>\n\t\t\t\t\t\t<posOff
0 0 />\n\t\t\t\t\t</_floatarrays>\n\t\t\t\t\t<_string>\n\t\t\t\t\t\t<posChildName><![CDATA[]]></posChildName>\n\t\t\t\t\t\t<childName><![CDATA[]]></childName>\n\t\t\t\t\t</_string>\n\t\t\t\t\t<_stringarrays>\n\t\t\t\t\t\t<message>\n\t\t\t\t\t\t\t<0><![CDATA[Hi.]]></0>\n\t\t\t\t\t\t</message>\n\t\t\t\t\t</_stringarrays>\n\t\t\t\t</dialogue>\n\t\t\t</0>\n\t\t\t<1
valueOrigin=\"1\" origin=\"0\" vector3Operator=\"2\" next=\"2\" >\n\t\t\t\t<_bool
useCenter=\"False\" useObject=\"True\" normalize=\"False\" active=\"True\" overrideNodeName=\"False\"
/>\n\t\t\t\t<_floatarrays>\n\t\t\t\t\t<nodePosition 152 152 />\n\t\t\t\t</_floatarrays>\n\t\t\t\t<_string>\n\t\t\t\t\t<objectID><![CDATA[]]></objectID>\n\t\t\t\t\t<nodeName><![CDATA[]]></nodeName>\n\t\t\t\t\t<_type><![CDATA[TransformToVariableStep]]></_type>\n\t\t\t\t</_string>\n\t\t\t\t<originObject
type=\"0\" aID=\"0\" wID=\"0\" pID=\"0\" pID2=\"-1\" >\n\t\t\t\t\t<_string>\n\t\t\t\t\t\t<childName><![CDATA[]]></childName>\n\t\t\t\t\t</_string>\n\t\t\t\t\t<objectKey
type=\"0\" >\n\t\t\t\t\t\t<_string>\n\t\t\t\t\t\t\t<value><![CDATA[]]></value>\n\t\t\t\t\t\t</_string>\n\t\t\t\t\t</objectKey>\n\t\t\t\t</originObject>\n\t\t\t\t<key
type=\"0\" >\n\t\t\t\t\t<_string>\n\t\t\t\t\t\t<value><![CDATA[chara_rotate]]></value>\n\t\t\t\t\t</_string>\n\t\t\t\t</key>\n\t\t\t</1>\n\t\t\t<2
interpolation=\"3\" next=\"0\" >\n\t\t\t\t<_float timeBetween=\"0\" />\n\t\t\t\t<_bool
waitBetween=\"True\" ignoreX=\"False\" ignoreY=\"True\" ignoreZ=\"False\" toObject=\"True\"
useCenter=\"False\" localSpace=\"False\" fade=\"True\" wait=\"True\" active=\"True\"
overrideNodeName=\"False\" />\n\t\t\t\t<_floatarrays>\n\t\t\t\t\t<offset 0 0
0 />\n\t\t\t\t\t<nodePosition 399 152 />\n\t\t\t\t</_floatarrays>\n\t\t\t\t<_string>\n\t\t\t\t\t<nodeName><![CDATA[]]></nodeName>\n\t\t\t\t\t<_type><![CDATA[RotateToStep]]></_type>\n\t\t\t\t</_string>\n\t\t\t\t<rotateObject
type=\"0\" aID=\"0\" wID=\"0\" pID=\"0\" pID2=\"-1\" >\n\t\t\t\t\t<_string>\n\t\t\t\t\t\t<childName><![CDATA[]]></childName>\n\t\t\t\t\t</_string>\n\t\t\t\t\t<objectKey
type=\"0\" >\n\t\t\t\t\t\t<_string>\n\t\t\t\t\t\t\t<value><![CDATA[]]></value>\n\t\t\t\t\t\t</_string>\n\t\t\t\t\t</objectKey>\n\t\t\t\t</rotateObject>\n\t\t\t\t<targetObject
type=\"0\" aID=\"1\" wID=\"0\" pID=\"0\" pID2=\"-1\" >\n\t\t\t\t\t<_string>\n\t\t\t\t\t\t<childName><![CDATA[]]></childName>\n\t\t\t\t\t</_string>\n\t\t\t\t\t<objectKey
type=\"0\" >\n\t\t\t\t\t\t<_string>\n\t\t\t\t\t\t\t<value><![CDATA[]]></value>\n\t\t\t\t\t\t</_string>\n\t\t\t\t\t</objectKey>\n\t\t\t\t</targetObject>\n\t\t\t\t<time
type=\"0\" origin=\"1\" multiVariableUseType=\"0\" formulaID=\"0\" rounding=\"0\"
>\n\t\t\t\t\t<_float initialValue=\"0\" offset=\"0\" value=\"0.5\" value2=\"0\"
/>\n\t\t\t\t\t<_bool useObject=\"True\" isInt=\"False\" isUTC=\"False\" />\n\t\t\t\t\t<_string>\n\t\t\t\t\t\t<objectID><![CDATA[]]></objectID>\n\t\t\t\t\t\t<name><![CDATA[]]></name>\n\t\t\t\t\t</_string>\n\t\t\t\t</time>\n\t\t\t</2>\n\t\t\t<3
interpolation=\"9\" next=\"-1\" >\n\t\t\t\t<_float timeBetween=\"0\" />\n\t\t\t\t<_bool
waitBetween=\"True\" setRotation=\"True\" fade=\"True\" wait=\"False\" interpolate=\"True\"
active=\"True\" overrideNodeName=\"False\" />\n\t\t\t\t<_floatarrays>\n\t\t\t\t\t<nodePosition
684 133 />\n\t\t\t\t</_floatarrays>\n\t\t\t\t<_string>\n\t\t\t\t\t<nodeName><![CDATA[]]></nodeName>\n\t\t\t\t\t<_type><![CDATA[ChangeRotationStep]]></_type>\n\t\t\t\t</_string>\n\t\t\t\t<rotateObject
type=\"0\" aID=\"0\" wID=\"0\" pID=\"0\" pID2=\"-1\" >\n\t\t\t\t\t<_string>\n\t\t\t\t\t\t<childName><![CDATA[]]></childName>\n\t\t\t\t\t</_string>\n\t\t\t\t\t<objectKey
type=\"0\" >\n\t\t\t\t\t\t<_string>\n\t\t\t\t\t\t\t<value><![CDATA[]]></value>\n\t\t\t\t\t\t</_string>\n\t\t\t\t\t</objectKey>\n\t\t\t\t</rotateObject>\n\t\t\t\t<rotation
type=\"1\" origin=\"0\" >\n\t\t\t\t\t<_float xMin=\"0\" xMax=\"0\" yMin=\"0\"
yMax=\"0\" zMin=\"0\" zMax=\"0\" />\n\t\t\t\t\t<_bool useObject=\"True\" gameObjectLocal=\"False\"
/>\n\t\t\t\t\t<_floatarrays>\n\t\t\t\t\t\t<value 0 90 0 />\n\t\t\t\t\t</_floatarrays>\n\t\t\t\t\t<_string>\n\t\t\t\t\t\t<objectID><![CDATA[]]></objectID>\n\t\t\t\t\t\t<variableKey><![CDATA[chara_rotate]]></variableKey>\n\t\t\t\t\t</_string>\n\t\t\t\t</rotation>\n\t\t\t\t<time
type=\"0\" origin=\"1\" multiVariableUseType=\"0\" formulaID=\"0\" rounding=\"0\"
>\n\t\t\t\t\t<_float initialValue=\"0\" offset=\"0\" value=\"0.5\" value2=\"0\"
/>\n\t\t\t\t\t<_bool useObject=\"True\" isInt=\"False\" isUTC=\"False\" />\n\t\t\t\t\t<_string>\n\t\t\t\t\t\t<objectID><![CDATA[]]></objectID>\n\t\t\t\t\t\t<name><![CDATA[]]></name>\n\t\t\t\t\t</_string>\n\t\t\t\t</time>\n\t\t\t</3>\n\t\t</step>\n\t</_subarrays>\n</gameEvent>\n"
lookUp:
textures: []
audioClips: []
gameObjects: []
guiSkins: []
materials: []
fonts: []
eventAssets: []
generalAssets: []
encrypted: 0



Any ideas? It only started happening after I checked "Block Player Control."
image
Olive Branches ~ in development ~ now with a WEBSITE!!!
  • edited May 2018
    Can confirm that the problem goes away if I turn off Block Player Control in the event settings. Also returns if I add a Block Player Control node. The first box remains onscreen if I do not clear the block steps so it's definitely something to do with the Block Player Control action.

    Is this a glitch?
    Post edited by Natnie on
    image
    Olive Branches ~ in development ~ now with a WEBSITE!!!
  • It might be some HUD that's shown when the player control is blocked.
    Check your HUDs' display conditions.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thanks, you were right. The Default HUD was showing up - I am not sure why though. I have made it hidden now.
    image
    Olive Branches ~ in development ~ now with a WEBSITE!!!
Sign In or Register to comment.