当前位置:网站首页>Unit UMP Packaging Black Screen issue Summary
Unit UMP Packaging Black Screen issue Summary
2022-07-19 04:36:00 【Neuf.】
J'utilise actuellementUnityLa version est2019.4.16f,En serviceUMPProblème d'écran noir lors de la lecture du flux vidéo de surveillance.Résumez les solutions aux problèmes.
Question 1:UMPProblème de version du plug - in
Au début, j'ai utilisé2.0.2VersionUMPJ'ai trouvé cette version dans2019DeunityIl y a beaucoup de problèmes,Il aurait pu êtreResources->UMPSettingsConfigurer les chemins associés,Mais cette version ne peut pas.Alors, s'il vous plaît2.0.2Plug - ins plus récents.

Deuxième question :dllProblème de chemin de fichier pour
Voici ce que vous trouverez,Il n'y a aucun problème à jouer sur votre propre ordinateur après l'emballage,Mais il y a toujours un problème d'écran noir pour envoyer le sac à un collègue.Parce que tu doisVLCEst un chemin absolu,On ne peut pas le trouver sur l'ordinateur d'un autre.
1.DécochezUse installed VLC

2.Modifier le CodeUniversalMediaPlayer->Editor->UMPPostBuildsDansBuildWindowsPlayer64Fonctions.
public static void BuildWindowsPlayer64(string path, UMPSettings settings)
{
string buildPath = Path.GetDirectoryName(path);
string dataPath = buildPath + "/" + Path.GetFileNameWithoutExtension(path) + "_Data";
if (!string.IsNullOrEmpty(buildPath))
{
if (!settings.UseExternalLibraries)
{
CopyPlugins(settings.AssetPath + "/Plugins/Win/x86_64/plugins/", dataPath + "/Plugins/plugins/");
//Modifier le Code
string[] files = Directory.GetFiles(dataPath + "/Plugins/x86_64/");
foreach (string str in files)
{
string file = Path.GetFileName(str);
Debug.LogError(file);
File.Copy(str, dataPath + "/Plugins/" + file);
}
Directory.Delete(dataPath + "/Plugins/x86_64/", true);
}
else
{
if (File.Exists(dataPath + "/Plugins/" + UMPSettings.LIB_VLC_NAME + ".dll"))
File.Delete(dataPath + "/Plugins/" + UMPSettings.LIB_VLC_NAME + ".dll");
if (File.Exists(dataPath + "/Plugins/" + UMPSettings.LIB_VLC_CORE_NAME + ".dll"))
File.Delete(dataPath + "/Plugins/" + UMPSettings.LIB_VLC_CORE_NAME + ".dll");
}
}
Debug.Log("Standalone Windows (x86_x64) build is completed: " + path);
}
Question 3:64Problème de position
Appelez quand vous emballez. 64Paquet de bits.

边栏推荐
猜你喜欢

How to open the applet for people near wechat (the way to open the applet near wechat)

WildFly:如何从位于另一个应用程序中的 EJB 调用 EJB
![[Unity] 交互之双击](/img/28/8c9c3dd9de413ff8e6373ea111b04f.png)
[Unity] 交互之双击

TiDB学习笔记【初阶】
![[Unity] Input.gettouch[index]的index](/img/9d/ec0e4c9e6b1bb25976357469fe037f.png)
[Unity] Input.gettouch[index]的index

donet framework4. X==windows form application new project, through system Data. SqlClient connects to sqlserver to query

PyTorch Image Models(timm)库

LeetCode之最大正方形(暴力求解和动态规划求解)

MySQL InnoDB transaction related records

数据分析报告这样写,才算真正读懂了数据
随机推荐
The author of surging issued the pressure test results
ospf防环
Real time Bi (IV) low cost data quasi real time processing idea
nodejs-uuid
donet framework4. X==windows form application new project, through system Data. SqlClient connects to sqlserver to query
简历书写注意事项
OSPF comprehensive experiment
Autojs learning - map finding data generation
Swift - Generic
物业小区高校水电抄表充值管理系统
【每日一题】剑指 Offer II 041. 滑动窗口的平均值
Optimization and configuration of OSPF
Time frequency diagram classification challenge of intelligent hardware voice control 2.0 (ideas and results, currently top5)
JS中Class类的静态属性和静态方法
leetcode209. Minimum length subarray
MySQL中判断和向下取整的使用场景和用法
AutoJs学习-实现极乐净土
Cabasicanimation pause \ enterprise action
Set administrator permissions for idea and console
AutoJs学习-找图数据生成