Kinds-of-Intelligence-CFI / animal-ai-unity

Animal-AI Unity
https://github.com/Kinds-of-Intelligence-CFI/animal-ai
Apache License 2.0
2 stars 2 forks source link

ex:(Rebuild Failure) ; Visual Build Inconsistency #6

Closed kozzy97 closed 1 year ago

kozzy97 commented 1 year ago

I rebuilt this on Windows 11 and the lighting is noticeably darker and signposter boards do not work (showing only grey surfaces). I changed nothing about the build itself. Very strange...

kozzy97 commented 1 year ago

An example config file that doesn't work in the new build:

!ArenaConfig
arenas:
  0: !Arena
    pass_mark: 0
    t: 250
    items:
    - !Item
      name: Agent
      positions:
      - !Vector3 {x: 10, y: 0, z: 20}
      rotations: [90]
    - !Item
      name: SignPosterboard
      positions:
      - !Vector3 {x: 20, y: 0, z: 8}
      - !Vector3 {x: 20, y: 0, z: 14}
      - !Vector3 {x: 20, y: 0, z: 20}
      - !Vector3 {x: 20, y: 0, z: 26}
      - !Vector3 {x: 20, y: 0, z: 32}
      rotations: [0, 0, 0, 0, 0]
      sizes:
      - !Vector3 {x: 1, y: 1, z: 1}
      - !Vector3 {x: 1, y: 1, z: 1}
      - !Vector3 {x: 1, y: 1, z: 1}
      - !Vector3 {x: 1, y: 1, z: 1}
      - !Vector3 {x: 1, y: 1, z: 1}
      symbolNames:
      - "left-arrow"    
      - "letter-a"    
      - "circle"    
      - "u-turn-arrow"    
      - "tick"
alhasacademy96 commented 1 year ago
2020 3 9f1 version + code changes vs no code changes

Figure 1.0 ^

Both builds are running 2020.3.9f1. Left build has camera manual episode change disabled; right build has camera and manual episode change enabled. Both builds have shadows darker and no signboards are showing in another separate test.

alhasacademy96 commented 1 year ago
latest unity editor + code changes vs old unity editor

Figure 2.0 ^

Build on the left shows fixed build that does not have visual inconsistency regarding lighting and shadows. Build on the right was the original build without fix.

alhasacademy96 commented 1 year ago
yamlyfile-boards are working - latest build 2021 with code changes

Figure 3.0 ^

Signboards are working again :)