Questions techniques liées à l’utilisation d'Unity (et n'entrant pas dans le cadre d'une des sections suivantes)
-
calypsomen
- Messages : 45
- Inscription : 26 Mars 2019 16:39
Message
par calypsomen » 26 Jan 2020 11:42
Bonjour à tous,
Je vous contacte aujourd'hui car je rencontre ce problème graphique sur la version build de mon jeu. Problème que je ne rencontre pas dans l'éditeur. Est-ce lié au lightmapping étant donné que je n'ai pas généré de lightmapping dans mon jeu ? Mais lorsque je génère le lightmapping cela dure des heures et se termine par un freeze de mon pc.. Ou serait-ce totalement lié à autre chose ? Il s'agit d'une scène basique composée d'un terrain, d'une lumière directionnelle, d'objets de décors, d'un joueur et d'un waterplane.
Je vous remercie par avance pour votre aide.
-
calypsomen
- Messages : 45
- Inscription : 26 Mars 2019 16:39
Message
par calypsomen » 27 Jan 2020 18:32
Je me permet de up le sujet, le problème est vraiment dérangeant et après de nombreux tests je n'arrive pas du tout à le régler
-
djulio74
- Messages : 682
- Inscription : 19 Déc 2009 22:55
Message
par djulio74 » 27 Jan 2020 20:13
Normalement non rien à voir avec le lightmapping. Regarde du côté des réglage du player, je pense notamment au réglage gamma ou linéaire qui pourrai faire cet effet, si mal supporté.
Vérifie que tu build bien pour ta plate-forme ( 86 64).
______________________________________________________________
\_______________________ Impossible is nothing _______________________/
-
calypsomen
- Messages : 45
- Inscription : 26 Mars 2019 16:39
Message
par calypsomen » 28 Jan 2020 00:56
Merci pour ta réponse!
Le build est bien paramétré pour x86_64 et lorsque je change entre gamma et linéaire, j'obtiens le même résultat
Voici les logs que j'obtiens lorsque je joue sur la version build:
► Afficher le texte
Mono path[0] = 'C:/Users/Léo/Desktop/Build/Client/Project One_Data/Managed'
Mono config path = 'C:/Users/Léo/Desktop/Build/Client/MonoBleedingEdge/etc'
Initialize engine version: 2019.3.0f5 (44796c9d3c2c)
[Subsystems] Discovering subsystems at path C:/Users/Léo/Desktop/Build/Client/Project One_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1
Direct3D:
Version: Direct3D 11.0 [level 11.1]
Renderer: NVIDIA GeForce GTX 1060 6GB (ID=0x1c03)
Vendor:
VRAM: 6052 MB
Driver: 26.21.14.3630
Begin MonoManager ReloadAssembly
- Completed reload, in 0.267 seconds
D3D11 device created for Microsoft Media Foundation video decoding.
<RI> Initializing input.
<RI> Input initialized.
<RI> Initialized touch support.
UnloadTime: 0.627100 ms
Couldn't create a Convex Mesh from source mesh "Body" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh.
(Filename: Line: 95)
Couldn't create a Convex Mesh from source mesh "Collider" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh.
(Filename: Line: 95)
Unloading 7 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 5.430200 ms
Unloading 7 unused Assets to reduce memory usage. Loaded Objects now: 6851.
Total: 2.194600 ms (FindLiveObjects: 0.344100 ms CreateObjectMapping: 0.116300 ms MarkObjects: 1.704700 ms DeleteObjects: 0.029400 ms)
Unloading 4 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 1.076200 ms
Setting up 8 worker threads for Enlighten.
Thread -> id: 41f0 -> priority: 1
Thread -> id: 461c -> priority: 1
Thread -> id: 13e4 -> priority: 1
Thread -> id: e14 -> priority: 1
Thread -> id: 42ec -> priority: 1
Thread -> id: 462c -> priority: 1
Thread -> id: 4814 -> priority: 1
Thread -> id: 4a78 -> priority: 1
Unloading 47 unused Assets to reduce memory usage. Loaded Objects now: 7359.
Total: 2.665100 ms (FindLiveObjects: 0.417800 ms CreateObjectMapping: 0.128000 ms MarkObjects: 1.996100 ms DeleteObjects: 0.123000 ms)
Unloading 5 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 1.154900 ms
Unloading 38 unused Assets to reduce memory usage. Loaded Objects now: 6856.
Total: 3.012100 ms (FindLiveObjects: 0.600900 ms CreateObjectMapping: 0.262900 ms MarkObjects: 2.035000 ms DeleteObjects: 0.113000 ms)
Unloading 4 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 0.309800 ms
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Unloading 49 unused Assets to reduce memory usage. Loaded Objects now: 21428.
Total: 11.279600 ms (FindLiveObjects: 1.032000 ms CreateObjectMapping: 0.388300 ms MarkObjects: 9.678800 ms DeleteObjects: 0.180300 ms)
Unloading 4 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 41.055700 ms
Unloading 465 unused Assets to reduce memory usage. Loaded Objects now: 6855.
Total: 3.256300 ms (FindLiveObjects: 0.426200 ms CreateObjectMapping: 0.127300 ms MarkObjects: 1.840700 ms DeleteObjects: 0.862100 ms)
Unloading 5 Unused Serialized files (Serialized files now loaded: 0)
WARNING: Shader Unsupported: 'Hidden/PostProcessing/FinalPass' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'Hidden/PostProcessing/FinalPass' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'Hidden/PostProcessing/Uber' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'Hidden/PostProcessing/Uber' - Pass '' has no vertex shader
UnloadTime: 0.327300 ms
Unloading 49 unused Assets to reduce memory usage. Loaded Objects now: 7807.
Total: 2.690600 ms (FindLiveObjects: 0.322300 ms CreateObjectMapping: 0.097600 ms MarkObjects: 2.052000 ms DeleteObjects: 0.218500 ms)
Unloading 4 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 0.734700 ms
Unloading 680 unused Assets to reduce memory usage. Loaded Objects now: 6858.
Total: 5.197000 ms (FindLiveObjects: 0.351100 ms CreateObjectMapping: 0.116200 ms MarkObjects: 2.133500 ms DeleteObjects: 2.596000 ms)
Unloading 9 Unused Serialized files (Serialized files now loaded: 0)
WARNING: Shader Unsupported: 'Hidden/PostProcessing/FinalPass' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'Hidden/PostProcessing/FinalPass' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'Hidden/PostProcessing/Uber' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'Hidden/PostProcessing/Uber' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'Hidden/Nature/Terrain/Utilities' - All passes removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)WARNING: Shader Unsupported: 'Hidden/Nature/Terrain/Utilities' - Setting to default shader.
UnloadTime: 0.421500 ms
Uploading Crash Report
NullReferenceException: Object reference not set to an instance of an object
at TOD_Camera.Start () [0x0000b] in <230c0a6ba1404461905f4d7c7618a6cb>:0
(Filename: <230c0a6ba1404461905f4d7c7618a6cb> Line: 0)
NullReferenceException: Object reference not set to an instance of an object
at TOD_Camera.Start () [0x0000b] in <230c0a6ba1404461905f4d7c7618a6cb>:0
(Filename: <230c0a6ba1404461905f4d7c7618a6cb> Line: 0)
Unloading 9 unused Assets to reduce memory usage. Loaded Objects now: 39559.
Total: 17.638400 ms (FindLiveObjects: 2.098800 ms CreateObjectMapping: 0.999600 ms MarkObjects: 14.377400 ms DeleteObjects: 0.162400 ms)
The referenced script on this Behaviour (Game Object '<null>') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Bullet') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'MainCamera') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'MainCamera') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'MainCamera') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'GTA_Enemy') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'GTA_Enemy') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'GTA_Enemy') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'GTA_Enemy') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'GTA_Enemy') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Blood_Chunky') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Name') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'First Person Controller') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'First Person Controller') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'First Person Controller') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'First Person Controller') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Main Camera') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Main Camera') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Main Camera') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Main Camera') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Main Camera') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Main Camera') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Blood_Chunky') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Pistol') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Indicador') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Indicador') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'LineRenderer_BulletTrail') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Enemy') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Enemy') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Enemy') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Enemy') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Enemy') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Ragdoll') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Ragdoll') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object '2') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'GTA_Player_M_2') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'GTA_Player_M_2') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'GTA_Player_M_2') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Animation') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Ragdoll') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Ragdoll') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Animation') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Animation') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'MObjPlayer') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'MObjPlayer') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'MObjPlayer') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'MObjPlayer') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'MObjPlayer') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Minimap_XZ_SS_SimpleRaster') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Frame') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Frame') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'ViewGrid(Raster)') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'ViewGrid(Raster)') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'S') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'E') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'W') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'N') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Aston Martin DB9') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Aston Martin DB9') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Aston Martin DB9') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Aston Martin DB9') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Wheel Hub Front Left') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Wheel Hub Back Left') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Wheel Hub Front Right') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Wheel Hub Back Right') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Zonda2') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Zonda2') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Zonda2') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Zonda2') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Wheel Hub Front Left') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Wheel Hub Back Left') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Wheel Hub Back Right') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object 'Wheel Hub Front Right') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object '0') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object '1') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object '2') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object '3') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object '4') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object '5') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object '6') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object '7') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object '8') is missing!
(Filename: Line: 334)
The referenced script on this Behaviour (Game Object '9') is missing!
(Filename: Line: 334)
Ignorance successfully initialized ENET.
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
Authentication Response: Success
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
Loading keys
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
Loading menu
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
Resultat de projection = 1
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
Material doesn't have a texture property '_MainTex'
(Filename: Line: 1401)
Unloading 6 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 19.294800 ms
Unloading 42804 unused Assets to reduce memory usage. Loaded Objects now: 14012.
Total: 77.532700 ms (FindLiveObjects: 2.298500 ms CreateObjectMapping: 3.208200 ms MarkObjects: 10.602200 ms DeleteObjects: 61.423400 ms)
Unloading 4 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 1.460900 ms
Unloading 5 unused Assets to reduce memory usage. Loaded Objects now: 27901.
Total: 19.029200 ms (FindLiveObjects: 1.588900 ms CreateObjectMapping: 0.825800 ms MarkObjects: 16.149000 ms DeleteObjects: 0.464800 ms)
-
calypsomen
- Messages : 45
- Inscription : 26 Mars 2019 16:39
Message
par calypsomen » 30 Jan 2020 00:11
J'ai également le problème sur les textures d'arme, comme par exemple ici :
-
djulio74
- Messages : 682
- Inscription : 19 Déc 2009 22:55
Message
par djulio74 » 30 Jan 2020 07:57
A mon avis tout est lié avec ton autre sujet du perso qui tombe dans le vide.
J'ai idée, et c'est pas péjoratif, que tu as utilisé un peu trop d'asset du store sans trop savoir comment ils fonctionnaient ou comment les utiliser.
ton log renseigne :
- des objets sans collider car nombre de poly trop élevé.
- des matériaux qui n'ont pas de texture (soit pas renseigner, soit des script tentent de les modifier sans qu'elles n'existent)
- des shaders non supporté (post process) - peut etre pas le bon rendering path de ta cam.
- Des scripts avec des variable qi cherchent a être modifiée sans être initialisées.
- Script a qui il manque des objet d'assignés.
A voir comme ça, je pense tu a mis pas mal de chose dans ta scène sans avoir pris le temps de les paramétrer, de les lier ou de n'en mettre qu'un partie et il en manque.
C'est donc quasiment impossible en l'état de te dire ce qui bloque exactement. Le mieux, et je sais c'est pas le plus sympa a faire, serait de repartir sur une scène vierge, et remettre ce que tu as choppé sur le store petit a petit , faire des build et au fur et a mesure corriger les erreurs.
______________________________________________________________
\_______________________ Impossible is nothing _______________________/